Skip every other frame with 50fps sources.
[dcpomatic.git] / src / lib / options.h
index 86db35210a377cad8f3a0caa08059214f467751d..f4381ef684de4798a2e0e68e6c6f56a6dce78ba2 100644 (file)
@@ -40,7 +40,7 @@ public:
                : padding (0)
                , apply_crop (true)
                , black_after (0)
-               , decode_video_frequency (0)
+               , decode_video_skip (0)
                , decode_audio (true)
                , decode_subtitles (false)
                , _frame_out_path (f)
@@ -98,7 +98,8 @@ public:
        int padding;                ///< number of pixels of padding (in terms of the output size) each side of the image
        bool apply_crop;            ///< true to apply cropping
        int black_after;            ///< first frame for which to output a black frame, rather than the actual video content, or 0 for none
-       int decode_video_frequency; ///< skip frames so that this many are decoded in all (or 0) (for generating thumbnails)
+       int decode_video_skip;      ///< 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.
        bool decode_audio;          ///< true to decode audio, otherwise false
        bool decode_subtitles;