mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-06 02:46:49 +00:00
VIDEO: Fix QuickTime timing when seeking without audio (thanks bgK)
svn-id: r55211
This commit is contained in:
parent
55c0658c8d
commit
0f04b4609c
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user