Add our own raw_convert that uses SafeStringStream.
[dcpomatic.git] / src / lib / frame_rate_change.h
index 6165f684010473e59f458d61ac656eb222ec23e5..f5244fea2b5d68491039b5c52db71d4ca81dd35f 100644 (file)
@@ -17,6 +17,9 @@
 
 */
 
+#ifndef DCPOMATIC_FRAME_RATE_CHANGE_H
+#define DCPOMATIC_FRAME_RATE_CHANGE_H
+
 #include <string>
 
 struct FrameRateChange
@@ -34,6 +37,9 @@ struct FrameRateChange
                return repeat;
        }
 
+       float source;
+       int dcp;
+
        /** true to skip every other frame */
        bool skip;
        /** number of times to use each frame (e.g. 1 is normal, 2 means repeat each frame once, and so on) */
@@ -54,5 +60,7 @@ struct FrameRateChange
         */
        float speed_up;
 
-       std::string description;
+       std::string description () const;
 };
+
+#endif