Change how video timing is done.
[dcpomatic.git] / src / lib / image_decoder.cc
index 59dc4e873fd92fcaa5a0723351b6fda862ff51ad..ecbbd5134adc7298ed2c48717151af4b25c0e66e 100644 (file)
@@ -78,7 +78,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;
 }