summaryrefslogtreecommitdiff
path: root/src/lib/string_text_file_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-21 02:45:30 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-21 02:45:30 +0000
commit84012cdd64f451891febd36154b7226ea21a899b (patch)
tree096fb898aa14d936dfc8f8598a6908337508233c /src/lib/string_text_file_decoder.h
parent254b3044d72de6b033d7c584f5abd2b9aa70aad5 (diff)
Put Film pointer into Decoder.
Diffstat (limited to 'src/lib/string_text_file_decoder.h')
-rw-r--r--src/lib/string_text_file_decoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/string_text_file_decoder.h b/src/lib/string_text_file_decoder.h
index 8cdf8cd9e..f30e1b762 100644
--- a/src/lib/string_text_file_decoder.h
+++ b/src/lib/string_text_file_decoder.h
@@ -29,10 +29,10 @@ class StringTextFileContent;
class StringTextFileDecoder : public Decoder, public StringTextFile
{
public:
- StringTextFileDecoder (boost::shared_ptr<const StringTextFileContent>);
+ StringTextFileDecoder (boost::shared_ptr<const Film> film, boost::shared_ptr<const StringTextFileContent>);
- void seek (boost::shared_ptr<const Film> film, ContentTime time, bool accurate);
- bool pass (boost::shared_ptr<const Film> film);
+ void seek (ContentTime time, bool accurate);
+ bool pass ();
private:
ContentTimePeriod content_time_period (sub::Subtitle s) const;