mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +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)
|
void CUpnpBrowserGui::playVideo(std::string name, std::string url)
|
||||||
{
|
{
|
||||||
CNeutrinoApp::getInstance()->handleMsg(NeutrinoMessages::CHANGEMODE, NeutrinoMessages::mode_ts);
|
|
||||||
|
|
||||||
stopAudio();
|
stopAudio();
|
||||||
|
|
||||||
|
CNeutrinoApp::getInstance()->handleMsg(NeutrinoMessages::CHANGEMODE, NeutrinoMessages::mode_ts);
|
||||||
|
|
||||||
m_frameBuffer->stopFrame();
|
m_frameBuffer->stopFrame();
|
||||||
CMoviePlayerGui::getInstance().SetFile(name, url);
|
CMoviePlayerGui::getInstance().SetFile(name, url);
|
||||||
CMoviePlayerGui::getInstance().exec(NULL, "upnp");
|
CMoviePlayerGui::getInstance().exec(NULL, "upnp");
|
||||||
|
Reference in New Issue
Block a user