Accessor for ClosedCaptionsDialog.
[dcpomatic.git] / src / lib / dcp_encoder.h
index 3ccd5695eea0c30ffe90cd9ff8e1641dc36b3362..cc2de3e0c924bb1881aa3eef57907ba86de793a6 100644 (file)
@@ -41,7 +41,7 @@ public:
 
        void go ();
 
-       float current_rate () const;
+       boost::optional<float> current_rate () const;
        Frame frames_done () const;
 
        /** @return true if we are in the process of calling Encoder::process_end */
@@ -51,9 +51,9 @@ public:
 
 private:
 
-       void video (boost::shared_ptr<PlayerVideo>, DCPTime);
-       void audio (boost::shared_ptr<AudioBuffers>, DCPTime);
-       void text (PlayerText, TextType, boost::optional<DCPTextTrack>, DCPTimePeriod);
+       void video (boost::shared_ptr<PlayerVideo>, dcpomatic::DCPTime);
+       void audio (boost::shared_ptr<AudioBuffers>, dcpomatic::DCPTime);
+       void text (PlayerText, TextType, boost::optional<DCPTextTrack>, dcpomatic::DCPTimePeriod);
 
        boost::shared_ptr<Writer> _writer;
        boost::shared_ptr<J2KEncoder> _j2k_encoder;