[Scummvm-cvs-logs] SF.net SVN: scummvm:[55211] scummvm/trunk/graphics/video/qt_decoder.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Tue Jan 11 22:33:23 CET 2011
Revision: 55211
http://scummvm.svn.sourceforge.net/scummvm/?rev=55211&view=rev
Author: mthreepwood
Date: 2011-01-11 21:33:23 +0000 (Tue, 11 Jan 2011)
Log Message:
-----------
VIDEO: Fix QuickTime timing when seeking without audio (thanks bgK)
Modified Paths:
--------------
scummvm/trunk/graphics/video/qt_decoder.cpp
Modified: scummvm/trunk/graphics/video/qt_decoder.cpp
===================================================================
--- scummvm/trunk/graphics/video/qt_decoder.cpp 2011-01-11 20:35:30 UTC (rev 55210)
+++ scummvm/trunk/graphics/video/qt_decoder.cpp 2011-01-11 21:33:23 UTC (rev 55211)
@@ -177,7 +177,7 @@
}
// 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) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list