Various fixes to push audio vaguely in the right direction.
[dcpomatic.git] / src / lib / image_decoder.cc
index dae73663c7f20104e448d67916aafcfec161d09f..fd51c1ba3963888ec891fc44e19349407a29c507 100644 (file)
@@ -45,7 +45,7 @@ ImageDecoder::ImageDecoder (shared_ptr<const ImageContent> c, shared_ptr<Log> lo
 }
 
 bool
-ImageDecoder::pass (PassReason, bool)
+ImageDecoder::pass ()
 {
        if (_frame_video_position >= _image_content->video->length()) {
                return true;
@@ -72,7 +72,7 @@ ImageDecoder::pass (PassReason, bool)
                }
        }
 
-       video->give (_image, _frame_video_position);
+       video->emit (_image, _frame_video_position);
        ++_frame_video_position;
        return false;
 }
@@ -80,6 +80,6 @@ ImageDecoder::pass (PassReason, bool)
 void
 ImageDecoder::seek (ContentTime time, bool accurate)
 {
-       video->seek (time, accurate);
+       Decoder::seek (time, accurate);
        _frame_video_position = time.frames_round (_image_content->active_video_frame_rate ());
 }