diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-24 01:02:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-24 01:02:25 +0100 |
| commit | 8dd9ea3086b4934f2719648ffa6333c0d106ff36 (patch) | |
| tree | 15f334ab2d096d0a7f310c1427ff8a3107eae069 /src/lib/encoder.h | |
| parent | be1862fefb1378c78bcc4bd6334694797755ea47 (diff) | |
Some const correctness.
Diffstat (limited to 'src/lib/encoder.h')
| -rw-r--r-- | src/lib/encoder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h index 86880bc34..70e81a7e0 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 (); |
