summaryrefslogtreecommitdiff
path: root/src/lib/options.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-16 21:45:41 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-16 21:45:41 +0000
commitc7292767fe4935da750423461a41224b3e0a8e37 (patch)
tree1cd8a46c0cbd7a7c8364c3f45abe412c3c6c3c15 /src/lib/options.h
parent7cdd53cd8de4a2c84c7ccbf1c4aa47520bc3c7b1 (diff)
Give DCPFrameRate a constructor. Add repeat member and cleverer dcp frame rate calculations.
Diffstat (limited to 'src/lib/options.h')
-rw-r--r--src/lib/options.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/options.h b/src/lib/options.h
index 55b066a2d..d1fc1d54e 100644
--- a/src/lib/options.h
+++ b/src/lib/options.h
@@ -39,7 +39,7 @@ public:
EncodeOptions (std::string f, std::string e, std::string m)
: padding (0)
- , video_skip (0)
+ , video_skip (false)
, _frame_out_path (f)
, _frame_out_extension (e)
, _multichannel_audio_out_path (m)
@@ -98,10 +98,8 @@ public:
/** Range of audio frames to decode (in the DCP's sampling rate) */
boost::optional<std::pair<int64_t, int64_t> > audio_range;
- /** Skip frames such that we don't decode any frame where (index % decode_video_skip) != 0; e.g.
- * 1 for every frame, 2 for every other frame, etc.
- */
- SourceFrame video_skip;
+ /** true to skip every other frame */
+ SourceFrame video_skip;
private:
/** Path of the directory to write video frames to */