CCAP doc tweaks.
[dcpomatic.git] / src / lib / text_subtitle_decoder.h
index c79b89937f33006f682d216ff1dcfb88210bcdae..72bb89b77e57a89c8da71ecb449f663c0edb89d6 100644 (file)
@@ -29,16 +29,12 @@ class TextSubtitleContent;
 class TextSubtitleDecoder : public Decoder, public TextSubtitle
 {
 public:
-       TextSubtitleDecoder (boost::shared_ptr<const TextSubtitleContent>);
+       TextSubtitleDecoder (boost::shared_ptr<const TextSubtitleContent>, boost::shared_ptr<Log> log);
 
-protected:
        void seek (ContentTime time, bool accurate);
-       bool pass (PassReason, bool accurate);
-       void reset ();
+       bool pass ();
 
 private:
-       std::list<ContentTimePeriod> image_subtitles_during (ContentTimePeriod, bool starting) const;
-       std::list<ContentTimePeriod> text_subtitles_during (ContentTimePeriod, bool starting) const;
        ContentTimePeriod content_time_period (sub::Subtitle s) const;
 
        size_t _next;