Change how video timing is done.
[dcpomatic.git] / src / lib / image_decoder.cc
index 26a9ad624b31fb168633c7aa3f721f44edf403db..d743c83958d1ab148c62e8e3693bae4e532d21d5 100644 (file)
@@ -79,7 +79,7 @@ ImageDecoder::pass ()
                }
        }
 
-       video->emit (film(), _image, _frame_video_position);
+       video->emit(film(), _image, dcpomatic::ContentTime::from_frames(_frame_video_position, _image_content->video_frame_rate().get_value_or(24)));
        ++_frame_video_position;
        return false;
 }