X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsubrip_decoder.h;h=d6c6e6bc2fa7fd37df7c4769c572fedaa7a7823c;hb=a5139de256c287459e04c75712614b2e7246a89a;hp=26d5d501006c021ee7892667246b626e817a43f3;hpb=4ba8772aef261da209bbb882325fd61a8b479fd7;p=dcpomatic.git diff --git a/src/lib/subrip_decoder.h b/src/lib/subrip_decoder.h index 26d5d5010..d6c6e6bc2 100644 --- a/src/lib/subrip_decoder.h +++ b/src/lib/subrip_decoder.h @@ -28,11 +28,15 @@ 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: + bool has_subtitle_during (ContentTimePeriod) const; + size_t _next; };