From 119cb608cf7529af2b9b0b88c253edd3d607e519 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Mon, 17 Oct 2016 11:00:18 +0200 Subject: [PATCH] - upnpbrowser: use stopAudio() function; was missing in c915f85 --- src/gui/upnpbrowser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/upnpbrowser.cpp b/src/gui/upnpbrowser.cpp index 83f714faf..12362a1c4 100644 --- a/src/gui/upnpbrowser.cpp +++ b/src/gui/upnpbrowser.cpp @@ -1306,8 +1306,7 @@ void CUpnpBrowserGui::playVideo(std::string name, std::string url) { CNeutrinoApp::getInstance()->handleMsg(NeutrinoMessages::CHANGEMODE, NeutrinoMessages::mode_ts); - if (CAudioPlayer::getInstance()->getState() != CBaseDec::STOP) - CAudioPlayer::getInstance()->stop(); + stopAudio(); m_frameBuffer->stopFrame(); CMoviePlayerGui::getInstance().SetFile(name, url);