Various fix-ups.
[dcpomatic.git] / src / lib / image_decoder.cc
index a5ca67e0d95856c4de867b4f5ea70a17a5dd7a6a..204849ecf8bd1ddc3ca415d5152eb4085863816e 100644 (file)
@@ -49,7 +49,7 @@ ImageDecoder::pass ()
        }
 
        if (_image && _image_content->still ()) {
-               video (_image, true, _video_position * TIME_HZ / _video_content->video_frame_rate ());
+               video (_image, true, _video_position);
                ++_video_position;
                return false;
        }
@@ -82,7 +82,7 @@ ImageDecoder::pass ()
 
        delete magick_image;
 
-       video (_image, false, _video_position * TIME_HZ / _video_content->video_frame_rate ());
+       video (_image, false, _video_position);
        ++_video_position;
 
        return false;