mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-14 16:07:39 +00:00
VIDEO: The next video frame needs updating before bink seeking
This commit is contained in:
parent
4a75a780d1
commit
86a45cd9d7
@ -341,6 +341,10 @@ bool BinkDecoder::seek(const Audio::Timestamp &time) {
|
||||
// Track down the keyframe
|
||||
uint32 keyFrame = findKeyFrame(frame);
|
||||
videoTrack->setCurFrame(keyFrame - 1);
|
||||
|
||||
// Adjust the video track to use for seeking
|
||||
findNextVideoTrack();
|
||||
|
||||
while (getCurFrame() < (int32)frame - 1)
|
||||
decodeNextFrame();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user