+ /** 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::shared_ptr<Log> log
+ );
+
+ ContentTime position () const {
+ return _position;
+ }
+
+ void emit_image (ContentTimePeriod period, boost::shared_ptr<Image>, dcpomatic::Rect<double>);
+ void emit_text (ContentTimePeriod period, std::list<dcp::SubtitleString>);
+ void emit_text (ContentTimePeriod period, sub::Subtitle const & subtitle);