aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-30 20:11:58 -0400
committerMatthew Hoops2011-10-07 11:33:24 -0400
commit5fab8cb521856b74605ba4523a144e270126a6a9 (patch)
treed55f22511be62fbd074f44a4a6c946c3e3d78326
parentc0dcfc8060bcdc52bb21d9dac2196a737c5751cc (diff)
downloadscummvm-rg350-5fab8cb521856b74605ba4523a144e270126a6a9.tar.gz
scummvm-rg350-5fab8cb521856b74605ba4523a144e270126a6a9.tar.bz2
scummvm-rg350-5fab8cb521856b74605ba4523a144e270126a6a9.zip
VIDEO: Ensure audio paused status remains after a QuickTime seek
-rw-r--r--video/qt_decoder.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/qt_decoder.cpp b/video/qt_decoder.cpp
index f93f0d616e..2dfb56dcea 100644
--- a/video/qt_decoder.cpp
+++ b/video/qt_decoder.cpp
@@ -176,6 +176,10 @@ void QuickTimeDecoder::seekToFrame(uint32 frame) {
// Restart the audio
startAudio();
+
+ // Pause the audio again if we're still paused
+ if (isPaused() && _audStream)
+ g_system->getMixer()->pauseHandle(_audHandle, true);
}
}