From 24726c143aa0d51b9d07ebdc5f8ee8d40e985399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Einar=20Johan=20Tr=C3=B8an=20S=C3=B8ma=CC=8Aen?= Date: Thu, 14 Jun 2012 16:14:07 +0200 Subject: [PATCH] WINTERMUTE: Make VidTheoraPlayer::Stop actually do something. --- engines/wintermute/video/VidTheoraPlayer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engines/wintermute/video/VidTheoraPlayer.cpp b/engines/wintermute/video/VidTheoraPlayer.cpp index 33ef8359335..65afeb2f34d 100644 --- a/engines/wintermute/video/VidTheoraPlayer.cpp +++ b/engines/wintermute/video/VidTheoraPlayer.cpp @@ -434,6 +434,11 @@ HRESULT CVidTheoraPlayer::play(TVideoPlayback Type, int X, int Y, bool FreezeGam ////////////////////////////////////////////////////////////////////////// HRESULT CVidTheoraPlayer::stop() { + _theoraDecoder->close(); + _state = THEORA_STATE_FINISHED; + if (_freezeGame) { + Game->Unfreeze(); + } #if 0 if (m_Sound) m_Sound->Stop(); m_State = THEORA_STATE_FINISHED;