aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorSven Hesse2011-02-02 17:03:14 +0000
committerSven Hesse2011-02-02 17:03:14 +0000
commitfed0adacb7fd063e0d2666f52550a105cef8b8d0 (patch)
tree660abab0fd2d2e5ba712aab1029b5cc665c1c450 /engines
parent3d0edd71c9f43c0888fa7ea1bbd4f33eba4eb953 (diff)
downloadscummvm-rg350-fed0adacb7fd063e0d2666f52550a105cef8b8d0.tar.gz
scummvm-rg350-fed0adacb7fd063e0d2666f52550a105cef8b8d0.tar.bz2
scummvm-rg350-fed0adacb7fd063e0d2666f52550a105cef8b8d0.zip
GOB: Close the just ended live video, not the first one
svn-id: r55734
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/videoplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp
index 88ca953474..f412d823f0 100644
--- a/engines/gob/videoplayer.cpp
+++ b/engines/gob/videoplayer.cpp
@@ -375,7 +375,7 @@ void VideoPlayer::updateLive(int slot, bool force) {
if (!video->properties.loop) {
if (!(video->properties.flags & kFlagNoVideo))
WRITE_VAR_OFFSET(212, (uint32)-1);
- _vm->_vidPlayer->closeVideo();
+ _vm->_vidPlayer->closeVideo(slot);
return;
} else {
video->decoder->seek(0, SEEK_SET, true);