diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-04 20:33:43 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-04 20:33:43 +0000 |
| commit | 555b4068ff0e1726519d720b055a9faaca01a1a1 (patch) | |
| tree | b999d604061de8fd1dedbe4c4631f86db8015dbe /src/lib/options.h | |
| parent | b7466a9653345bc51db4cb1d7e960bfc4c12721f (diff) | |
Various range fixes.
Diffstat (limited to 'src/lib/options.h')
| -rw-r--r-- | src/lib/options.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/options.h b/src/lib/options.h index 043e3692f..68786c730 100644 --- a/src/lib/options.h +++ b/src/lib/options.h @@ -96,6 +96,10 @@ 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 + + /** Range of video frames to decode */ + boost::optional<std::pair<SourceFrame, SourceFrame> > decode_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. */ |
