From 5fab8cb521856b74605ba4523a144e270126a6a9 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Fri, 30 Sep 2011 20:11:58 -0400 Subject: [PATCH] VIDEO: Ensure audio paused status remains after a QuickTime seek --- video/qt_decoder.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/video/qt_decoder.cpp b/video/qt_decoder.cpp index f93f0d616eca..2dfb56dceaa7 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); } }