Put Film pointer into Decoder.
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.h
index 7e832241e82fa211e2572091c6ca2ef52fd9e1f2..e5533927b4b77f9e485ff56efcd498f8f0dc8976 100644 (file)
@@ -26,10 +26,10 @@ class DCPSubtitleContent;
 class DCPSubtitleDecoder : public DCPSubtitle, public Decoder
 {
 public:
-       DCPSubtitleDecoder (boost::shared_ptr<const DCPSubtitleContent>);
+       DCPSubtitleDecoder (boost::shared_ptr<const Film> film, boost::shared_ptr<const DCPSubtitleContent>);
 
-       bool pass (boost::shared_ptr<const Film> film);
-       void seek (boost::shared_ptr<const Film> film, ContentTime time, bool accurate);
+       bool pass ();
+       void seek (ContentTime time, bool accurate);
 
 private:
        ContentTimePeriod content_time_period (boost::shared_ptr<dcp::Subtitle> s) const;