Try a different approach to frame duplication in the decoder.
[dcpomatic.git] / src / lib / j2k_wav_encoder.cc
index 73a70910e9f9f631f3f3109e3c317bbd27694610..bac7d5f35c63e17d2f66d285c3453bde8e56c652 100644 (file)
@@ -106,7 +106,7 @@ J2KWAVEncoder::close_sound_files ()
 }      
 
 void
-J2KWAVEncoder::process_video (shared_ptr<Image> yuv, int frame, shared_ptr<Subtitle> sub)
+J2KWAVEncoder::process_video (shared_ptr<const Image> yuv, int frame, shared_ptr<Subtitle> sub)
 {
        boost::mutex::scoped_lock lock (_worker_mutex);