summaryrefslogtreecommitdiff
path: root/src/lib/encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-06-20 17:34:23 +0100
committerCarl Hetherington <cth@carlh.net>2013-06-20 21:20:38 +0100
commit50cb31af16240b248700dab1484d7f07656c66df (patch)
tree393568f3c24506ac6b004346b9ef5101f9fdcf61 /src/lib/encoder.h
parentedfd92e5554e3389e6456f497f44ca6e866800bf (diff)
Various fixes to make audio analysis sort-of work.
Diffstat (limited to 'src/lib/encoder.h')
-rw-r--r--src/lib/encoder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h
index 8f724525c..3fe707b51 100644
--- a/src/lib/encoder.h
+++ b/src/lib/encoder.h
@@ -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 */