- upnpbrowser: use stopAudio() function; was missing in c915f85

This commit is contained in:
svenhoefer
2016-10-17 11:00:18 +02:00
parent c074f1365f
commit 119cb608cf

View File

@@ -1306,8 +1306,7 @@ void CUpnpBrowserGui::playVideo(std::string name, std::string url)
{ {
CNeutrinoApp::getInstance()->handleMsg(NeutrinoMessages::CHANGEMODE, NeutrinoMessages::mode_ts); CNeutrinoApp::getInstance()->handleMsg(NeutrinoMessages::CHANGEMODE, NeutrinoMessages::mode_ts);
if (CAudioPlayer::getInstance()->getState() != CBaseDec::STOP) stopAudio();
CAudioPlayer::getInstance()->stop();
m_frameBuffer->stopFrame(); m_frameBuffer->stopFrame();
CMoviePlayerGui::getInstance().SetFile(name, url); CMoviePlayerGui::getInstance().SetFile(name, url);