projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stop using static initialisation so that dcpomatic::write() can be called more than...
[dcpomatic.git]
/
src
/
lib
/
string_text_file_decoder.h
diff --git
a/src/lib/string_text_file_decoder.h
b/src/lib/string_text_file_decoder.h
index aa8c80e6e9152341d2f114a0118e4934dcf3fc4e..c58021acbcde0c0cf8bbd926392fcd561b19a8df 100644
(file)
--- 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<const Film> film, std::shared_ptr<const StringTextFileContent>);
public:
StringTextFileDecoder (std::shared_ptr<const Film> film, std::shared_ptr<const StringTextFileContent>);
- void seek (dcpomatic::ContentTime time, bool accurate);
- bool pass ();
-
- std::vector<dcpomatic::FontData> fonts () const;
+ void seek (dcpomatic::ContentTime time, bool accurate) override;
+ bool pass () override;
private:
dcpomatic::ContentTimePeriod content_time_period (sub::Subtitle s) const;
private:
dcpomatic::ContentTimePeriod content_time_period (sub::Subtitle s) const;
+ void update_position();
size_t _next;
};
size_t _next;
};