X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsubrip_decoder.h;h=38ccca0a38521c0c98caafdc4ce5c1e06c2b6618;hb=e60bb3e51bd1508b149e6b8f6608f09b5196ae26;hp=26d5d501006c021ee7892667246b626e817a43f3;hpb=b299c1873bf23414061d551843275c77a9256a05;p=dcpomatic.git diff --git a/src/lib/subrip_decoder.h b/src/lib/subrip_decoder.h index 26d5d5010..38ccca0a3 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; };