summaryrefslogtreecommitdiff
path: root/src/lib/encoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-24 01:02:25 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-24 01:02:25 +0100
commit8dd9ea3086b4934f2719648ffa6333c0d106ff36 (patch)
tree15f334ab2d096d0a7f310c1427ff8a3107eae069 /src/lib/encoder.cc
parentbe1862fefb1378c78bcc4bd6334694797755ea47 (diff)
Some const correctness.
Diffstat (limited to 'src/lib/encoder.cc')
-rw-r--r--src/lib/encoder.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc
index 7b338407e..7a1eea069 100644
--- a/src/lib/encoder.cc
+++ b/src/lib/encoder.cc
@@ -231,7 +231,7 @@ Encoder::frame_done ()
}
void
-Encoder::process_video (shared_ptr<Image> image, bool same, boost::shared_ptr<Subtitle> sub)
+Encoder::process_video (shared_ptr<const Image> image, bool same, boost::shared_ptr<Subtitle> sub)
{
FrameRateConversion frc (_film->source_frame_rate(), _film->dcp_frame_rate());
@@ -294,7 +294,7 @@ Encoder::process_video (shared_ptr<Image> image, bool same, boost::shared_ptr<Su
}
void
-Encoder::process_audio (shared_ptr<AudioBuffers> data)
+Encoder::process_audio (shared_ptr<const AudioBuffers> data)
{
#if HAVE_SWRESAMPLE
/* Maybe sample-rate convert */