diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-04 14:52:43 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-04 14:52:43 +0000 |
| commit | d9f9938c2ca2a1f9b27a85bf64a50d7f480f969b (patch) | |
| tree | 5a3c0abf1813983324e57c896deff490055d311e /src/lib/options.h | |
| parent | b4dd5979b6c1d48b0af4fefd9d1df4e9947da402 (diff) | |
| parent | c366d41af080b9ac37117a9b27a249722c77f74e (diff) | |
Merge master.
Diffstat (limited to 'src/lib/options.h')
| -rw-r--r-- | src/lib/options.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/options.h b/src/lib/options.h index d8b99815d..aef9ca112 100644 --- a/src/lib/options.h +++ b/src/lib/options.h @@ -39,7 +39,7 @@ public: Options (std::string f, std::string e, std::string m) : padding (0) , apply_crop (true) - , decode_video_frequency (0) + , decode_video_skip (0) , decode_audio (true) , decode_subtitles (false) , _frame_out_path (f) @@ -96,7 +96,8 @@ public: float ratio; ///< ratio of the wanted output image (not considering padding) 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 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; |
