Various fixes to make audio analysis sort-of work.
[dcpomatic.git] / src / lib / encoder.h
index 8f724525cbe791c965d67c3b1e13f06f08f7a1b4..3fe707b511e717b38b001788db4a35d601ae8dfd 100644 (file)
@@ -58,7 +58,7 @@ class Job;
 class Encoder : public VideoSink, public AudioSink
 {
 public:
-       Encoder (boost::shared_ptr<Film> f, boost::shared_ptr<Job>);
+       Encoder (boost::shared_ptr<const Film> f, boost::shared_ptr<Job>);
        virtual ~Encoder ();
 
        /** Called to indicate that a processing run is about to begin */
@@ -87,7 +87,7 @@ private:
        void terminate_threads ();
 
        /** Film that we are encoding */
-       boost::shared_ptr<Film> _film;
+       boost::shared_ptr<const Film> _film;
        boost::shared_ptr<Job> _job;
 
        /** Mutex for _time_history and _last_frame */