Back port active_frame_rate_change stuff from v2, removing specification of video...
[dcpomatic.git] / src / lib / frame_rate_change.h
index 6165f684010473e59f458d61ac656eb222ec23e5..f53adc05925c1dea9fa461a491c54f2c111b6f23 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) */
@@ -56,3 +62,5 @@ struct FrameRateChange
 
        std::string description;
 };
+
+#endif