- 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)
+
+ /** Range of video frames to decode */
+ 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.
+ */
+ SourceFrame decode_video_skip;