X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fstring_text_file_decoder.h;h=c58021acbcde0c0cf8bbd926392fcd561b19a8df;hb=58c63c02bc26209f42f42bccbe4a587f9df6f05f;hp=8cdf8cd9eb4eeff770630d203ff91614c88129a9;hpb=254b3044d72de6b033d7c584f5abd2b9aa70aad5;p=dcpomatic.git diff --git a/src/lib/string_text_file_decoder.h b/src/lib/string_text_file_decoder.h index 8cdf8cd9e..c58021acb 100644 --- a/src/lib/string_text_file_decoder.h +++ b/src/lib/string_text_file_decoder.h @@ -29,13 +29,14 @@ class StringTextFileContent; class StringTextFileDecoder : public Decoder, public StringTextFile { public: - StringTextFileDecoder (boost::shared_ptr); + StringTextFileDecoder (std::shared_ptr film, std::shared_ptr); - void seek (boost::shared_ptr film, ContentTime time, bool accurate); - bool pass (boost::shared_ptr film); + void seek (dcpomatic::ContentTime time, bool accurate) override; + bool pass () override; private: - ContentTimePeriod content_time_period (sub::Subtitle s) const; + dcpomatic::ContentTimePeriod content_time_period (sub::Subtitle s) const; + void update_position(); size_t _next; };