summaryrefslogtreecommitdiff
path: root/src/lib/frame_rate_change.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-05 11:48:54 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-05 11:48:54 +0100
commitb60186064405914b41780021f74dd7830f2ffecb (patch)
treee5a1f1522dc8c96c981e8c91f3338d60ec198f7a /src/lib/frame_rate_change.h
parent3f9891137747cd7434ce20f69b8d88b967dbdfaf (diff)
Back port active_frame_rate_change stuff from v2, removing specification of video frame rate for sndfile sources.
Diffstat (limited to 'src/lib/frame_rate_change.h')
-rw-r--r--src/lib/frame_rate_change.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/frame_rate_change.h b/src/lib/frame_rate_change.h
index 6165f6840..f53adc059 100644
--- a/src/lib/frame_rate_change.h
+++ b/src/lib/frame_rate_change.h
@@ -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