projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set up TextDecoder position based on the time that the next thing will
[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 5887f34c61f81fed1bdfaa9fc923273b4c122392..c58021acbcde0c0cf8bbd926392fcd561b19a8df 100644
(file)
--- a/
src/lib/string_text_file_decoder.h
+++ b/
src/lib/string_text_file_decoder.h
@@
-34,10
+34,9
@@
public:
void seek (dcpomatic::ContentTime time, bool accurate) override;
bool pass () override;
void seek (dcpomatic::ContentTime time, bool accurate) override;
bool pass () override;
- std::vector<dcpomatic::FontData> fonts () const 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;
};