summaryrefslogtreecommitdiff
path: root/src/lib/encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-26 23:41:02 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-26 23:41:02 +0100
commitf861018389acd9d277fe34d7621182b9b54f977f (patch)
tree499bae7640ce99a13c31ea9c870d426084480aec /src/lib/encoder.h
parentf09c6b53f155de601900afa90045059b20310c0d (diff)
parent86011ad6b4ea0004a51c59b0563cf89c0947546d (diff)
Merge master; fix crash on new film.
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 56007fd48..f95d42661 100644
--- a/src/lib/encoder.h
+++ b/src/lib/encoder.h
@@ -73,10 +73,10 @@ public:
* @param same true if i is the same as the last time we were called.
* @param s A subtitle that should be on this frame, or 0.
*/
- void process_video (boost::shared_ptr<Image> i, bool same, boost::shared_ptr<Subtitle> s);
+ void process_video (boost::shared_ptr<const Image> i, bool same, boost::shared_ptr<Subtitle> s);
/** Call with some audio data */
- void process_audio (boost::shared_ptr<AudioBuffers>);
+ void process_audio (boost::shared_ptr<const AudioBuffers>);
/** Called when a processing run has finished */
virtual void process_end ();