X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsubrip_decoder.h;h=876f763d3a5ffe1c39f1952226250eccb95db4c6;hb=65a398e035346ef3a5fc121ee2c1a96a1b525046;hp=26d5d501006c021ee7892667246b626e817a43f3;hpb=cc3900735839ff4b0da0c046b5c606c440ba917a;p=dcpomatic.git diff --git a/src/lib/subrip_decoder.h b/src/lib/subrip_decoder.h index 26d5d5010..876f763d3 100644 --- a/src/lib/subrip_decoder.h +++ b/src/lib/subrip_decoder.h @@ -28,11 +28,16 @@ class SubRipContent; class SubRipDecoder : public SubtitleDecoder, public SubRip { public: - SubRipDecoder (boost::shared_ptr, boost::shared_ptr); - + SubRipDecoder (boost::shared_ptr); + +protected: + void seek (ContentTime time, bool accurate); bool pass (); private: + std::list image_subtitles_during (ContentTimePeriod, bool starting) const; + std::list text_subtitles_during (ContentTimePeriod, bool starting) const; + size_t _next; };