X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsubrip_decoder.h;h=ad9d04e4003029f6a9b99b62714b4fbdd0a13a6f;hb=475d5986b7ba3796eb0aa93ec0b536f45e15b0a5;hp=26d5d501006c021ee7892667246b626e817a43f3;hpb=f58d9e44302151dea9f594acd9fc27a331fa77fb;p=dcpomatic.git diff --git a/src/lib/subrip_decoder.h b/src/lib/subrip_decoder.h index 26d5d5010..ad9d04e40 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: + std::list subtitles_during (ContentTimePeriod, bool starting) const; + size_t _next; };