X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsubrip_decoder.h;h=db8374c5c86fac05cbac154ca31329618caea02c;hb=5b968bb948b7904cc41c254b7851880e451f6906;hp=d6c6e6bc2fa7fd37df7c4769c572fedaa7a7823c;hpb=f1d30fb114b3b2c6ccd8fdf5823e7cd6b26c1eef;p=dcpomatic.git diff --git a/src/lib/subrip_decoder.h b/src/lib/subrip_decoder.h index d6c6e6bc2..db8374c5c 100644 --- a/src/lib/subrip_decoder.h +++ b/src/lib/subrip_decoder.h @@ -35,8 +35,10 @@ protected: bool pass (); private: - bool has_subtitle_during (ContentTimePeriod) const; - + std::list image_subtitles_during (ContentTimePeriod, bool starting) const; + std::list text_subtitles_during (ContentTimePeriod, bool starting) const; + ContentTimePeriod content_time_period (sub::Subtitle s) const; + size_t _next; };