diff options
author | Matthew Hoops | 2011-01-11 21:33:23 +0000 |
---|---|---|
committer | Matthew Hoops | 2011-01-11 21:33:23 +0000 |
commit | 0f04b4609c42850fff12ab9bf71e0acb1bffaf47 (patch) | |
tree | e59156ceb8e35e6f55473cae7ce2a8a91a9d5046 | |
parent | 55c0658c8d00568ee4c87fefadd695bc560b01b6 (diff) | |
download | scummvm-rg350-0f04b4609c42850fff12ab9bf71e0acb1bffaf47.tar.gz scummvm-rg350-0f04b4609c42850fff12ab9bf71e0acb1bffaf47.tar.bz2 scummvm-rg350-0f04b4609c42850fff12ab9bf71e0acb1bffaf47.zip |
VIDEO: Fix QuickTime timing when seeking without audio (thanks bgK)
svn-id: r55211
-rw-r--r-- | graphics/video/qt_decoder.cpp | 2 |
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) { |