VIDEO: Fix AVIDecoder skipping alternate frames in reverse playback
This commit is contained in:
parent
7e12a62ce8
commit
371a594b8d
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ bool AVIDecoder::seekIntern(const Audio::Timestamp &time) {
|
|||
seekTransparencyFrame(frame);
|
||||
|
||||
// Set the video track's frame
|
||||
videoTrack->setCurFrame((int)frame - 1);
|
||||
videoTrack->setCurFrame(videoTrack->isReversed() ? frame : frame - 1);
|
||||
|
||||
// Set the video track's search offset to the right spot
|
||||
_videoTracks[0].chunkSearchOffset = _indexEntries[frameIndex].offset;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue