diff options
author | Sven Hesse | 2010-08-08 00:47:54 +0000 |
---|---|---|
committer | Sven Hesse | 2010-08-08 00:47:54 +0000 |
commit | 7fe406a5ddbde7c46605437c13a9d79c6178f28e (patch) | |
tree | 7c8b318259e06b835821d49f910596d10ba6ff7a /engines/gob/videoplayer.cpp | |
parent | 53b67deaf0332f598168af4cbccc61ff4e5944c3 (diff) | |
download | scummvm-rg350-7fe406a5ddbde7c46605437c13a9d79c6178f28e.tar.gz scummvm-rg350-7fe406a5ddbde7c46605437c13a9d79c6178f28e.tar.bz2 scummvm-rg350-7fe406a5ddbde7c46605437c13a9d79c6178f28e.zip |
GOB: Fix video continuing
svn-id: r51878
Diffstat (limited to 'engines/gob/videoplayer.cpp')
-rw-r--r-- | engines/gob/videoplayer.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp index b219d341da..bb9c232444 100644 --- a/engines/gob/videoplayer.cpp +++ b/engines/gob/videoplayer.cpp @@ -257,8 +257,11 @@ bool VideoPlayer::playFrame(int slot, Properties &properties) { bool primary = slot == 0; - if (video->decoder->getCurFrame() != properties.startFrame); - video->decoder->seek(properties.startFrame + 1); + if (video->decoder->getCurFrame() != properties.startFrame) { + video->decoder->disableSound(); + video->decoder->seek(properties.startFrame + 1, SEEK_SET, true); + video->decoder->enableSound(); + } bool modifiedPal = false; |