aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/videoplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/videoplayer.cpp')
-rw-r--r--engines/gob/videoplayer.cpp7
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;