X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fstring_text_file_decoder.h;h=c58021acbcde0c0cf8bbd926392fcd561b19a8df;hb=HEAD;hp=aa8c80e6e9152341d2f114a0118e4934dcf3fc4e;hpb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;p=dcpomatic.git diff --git a/src/lib/string_text_file_decoder.h b/src/lib/string_text_file_decoder.h index aa8c80e6e..c58021acb 100644 --- a/src/lib/string_text_file_decoder.h +++ b/src/lib/string_text_file_decoder.h @@ -31,13 +31,12 @@ class StringTextFileDecoder : public Decoder, public StringTextFile public: StringTextFileDecoder (std::shared_ptr film, std::shared_ptr); - void seek (dcpomatic::ContentTime time, bool accurate); - bool pass (); - - std::vector fonts () const; + void seek (dcpomatic::ContentTime time, bool accurate) override; + bool pass () override; private: dcpomatic::ContentTimePeriod content_time_period (sub::Subtitle s) const; + void update_position(); size_t _next; };