diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-05 10:36:55 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-05 10:36:55 +0000 |
| commit | ca4d051ceafb77c281583c4e50b391f230544313 (patch) | |
| tree | f3bb8a080dd87feae70ed90cb93d99e4bdd7e4a2 /src/lib/options.h | |
| parent | 10a001a0c7cf33d384d9613168d80c0c5a07426c (diff) | |
Move trimming into the encoder; seems to be cleaner.
Diffstat (limited to 'src/lib/options.h')
| -rw-r--r-- | src/lib/options.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/options.h b/src/lib/options.h index 68786c730..29b3b71cd 100644 --- a/src/lib/options.h +++ b/src/lib/options.h @@ -24,6 +24,7 @@ #include <string> #include <iomanip> #include <sstream> +#include <boost/optional.hpp> #include "util.h" /** @class Options @@ -98,8 +99,10 @@ public: bool apply_crop; ///< true to apply cropping /** Range of video frames to decode */ - boost::optional<std::pair<SourceFrame, SourceFrame> > decode_range; - + boost::optional<std::pair<SourceFrame, SourceFrame> > video_decode_range; + /** Range of audio frames to decode */ + boost::optional<std::pair<int64_t, int64_t> > audio_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. */ |
