+ /** Second parameter to the _during functions is true if we
+ * want only subtitles that start during the period,
+ * otherwise we want subtitles that overlap the period.
+ */
+ SubtitleDecoder (
+ Decoder* parent,
+ boost::shared_ptr<const SubtitleContent>,
+ boost::function<std::list<ContentTimePeriod> (ContentTimePeriod, bool)> image_during,
+ boost::function<std::list<ContentTimePeriod> (ContentTimePeriod, bool)> text_during
+ );