VIDEO: Fix another IMD seek issue
svn-id: r51881
This commit is contained in:
parent
688ae2bfff
commit
d1d772367b
1 changed files with 3 additions and 0 deletions
|
@ -713,6 +713,9 @@ bool IMDDecoder::seek(int32 frame, int whence, bool restart) {
|
|||
|
||||
} else if (restart && (_soundStage == kSoundNone)) {
|
||||
|
||||
_curFrame = 0;
|
||||
_stream->seek(_firstFramePos);
|
||||
|
||||
for (int i = ((frame > _curFrame) ? _curFrame : 0); i <= frame; i++)
|
||||
processFrame();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue