projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix strange behaviour of player export frame dialog (#2493).
[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 c57f40d24a7f5c8352f2dc7c6c31338b1bcf4dc7..c58021acbcde0c0cf8bbd926392fcd561b19a8df 100644
(file)
--- a/
src/lib/string_text_file_decoder.h
+++ b/
src/lib/string_text_file_decoder.h
@@
-29,15
+29,14
@@
class StringTextFileContent;
class StringTextFileDecoder : public Decoder, public StringTextFile
{
public:
class StringTextFileDecoder : public Decoder, public StringTextFile
{
public:
- StringTextFileDecoder (
boost::shared_ptr<const Film> film, boost
::shared_ptr<const StringTextFileContent>);
+ 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;
};