X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsubtitle_decoder.h;h=c1f171b1fbb799ebe0a128ff606b1932df5f0e68;hb=365e705bf9fab1107015c9c28bd675090614f154;hp=92a6266de4b96d19534a5a70e1eea7a15cc7117f;hpb=ba8a5a15cc27988e2bbc6acd470d8532f1d8e99f;p=dcpomatic.git diff --git a/src/lib/subtitle_decoder.h b/src/lib/subtitle_decoder.h index 92a6266de..c1f171b1f 100644 --- a/src/lib/subtitle_decoder.h +++ b/src/lib/subtitle_decoder.h @@ -38,14 +38,11 @@ class Image; class SubtitleDecoder : public DecoderPart { public: - /** 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, - boost::shared_ptr log + boost::shared_ptr log, + ContentTime first ); ContentTime position () const { @@ -59,6 +56,8 @@ public: void emit_text (ContentTimePeriod period, sub::Subtitle const & subtitle); void emit_stop (ContentTime to); + void seek (); + boost::shared_ptr content () const { return _content; }