CCAP doc tweaks.
[dcpomatic.git] / src / lib / subtitle_decoder.h
index 92a6266de4b96d19534a5a70e1eea7a15cc7117f..c1f171b1fbb799ebe0a128ff606b1932df5f0e68 100644 (file)
@@ -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<const SubtitleContent>,
-               boost::shared_ptr<Log> log
+               boost::shared_ptr<Log> 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<const SubtitleContent> content () const {
                return _content;
        }