aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/video/qt_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/qt_decoder.cpp b/graphics/video/qt_decoder.cpp
index 17f1942a75..d60275acde 100644
--- a/graphics/video/qt_decoder.cpp
+++ b/graphics/video/qt_decoder.cpp
@@ -177,7 +177,7 @@ void QuickTimeDecoder::seekToFrame(uint32 frame) {
}
// Adjust the video starting point
- _startTime = g_system->getMillis() - _nextFrameStartTime;
+ _startTime = g_system->getMillis() - Graphics::VideoTimestamp(_nextFrameStartTime, _streams[_videoStreamIndex]->time_scale).getUnitsInScale(1000);
// Adjust the audio starting point
if (_audioStreamIndex >= 0) {