mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
upnpbrowser: fix mode_ts for videos; was switched back to mode_upnp by stopAudio()
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: 6659dbb6f3
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-08-12 (Sat, 12 Aug 2017)
Origin message was:
------------------
- upnpbrowser: fix mode_ts for videos; was switched back to mode_upnp by stopAudio()
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1311,10 +1311,10 @@ void CUpnpBrowserGui::showPicture(std::string name)
|
||||
|
||||
void CUpnpBrowserGui::playVideo(std::string name, std::string url)
|
||||
{
|
||||
CNeutrinoApp::getInstance()->handleMsg(NeutrinoMessages::CHANGEMODE, NeutrinoMessages::mode_ts);
|
||||
|
||||
stopAudio();
|
||||
|
||||
CNeutrinoApp::getInstance()->handleMsg(NeutrinoMessages::CHANGEMODE, NeutrinoMessages::mode_ts);
|
||||
|
||||
m_frameBuffer->stopFrame();
|
||||
CMoviePlayerGui::getInstance().SetFile(name, url);
|
||||
CMoviePlayerGui::getInstance().exec(NULL, "upnp");
|
||||
|
Reference in New Issue
Block a user