mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
movieplayer: add some console spam to check modes
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6f1b9d6fa5
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-05 (Sun, 05 Nov 2017)
Origin message was:
------------------
- movieplayer: add some console spam to check modes
Signed-off-by: Thilo Graf <dbt@novatux.de>
------------------
This commit was generated by Migit
This commit is contained in:
@@ -298,6 +298,7 @@ void CMoviePlayerGui::cutNeutrino()
|
||||
|
||||
int new_mode = NeutrinoMessages::mode_unknown;
|
||||
m_LastMode = CNeutrinoApp::getInstance()->getMode();
|
||||
printf("%s: old mode %d\n", __func__, m_LastMode);fflush(stdout);
|
||||
if (isWebChannel)
|
||||
{
|
||||
bool isRadioMode = (m_LastMode == NeutrinoMessages::mode_radio || m_LastMode == NeutrinoMessages::mode_webradio);
|
||||
@@ -308,6 +309,7 @@ void CMoviePlayerGui::cutNeutrino()
|
||||
{
|
||||
new_mode = NeutrinoMessages::mode_ts;
|
||||
}
|
||||
printf("%s: new mode %d\n", __func__, new_mode);fflush(stdout);
|
||||
printf("%s: save mode %x\n", __func__, m_LastMode);fflush(stdout);
|
||||
CNeutrinoApp::getInstance()->handleMsg(NeutrinoMessages::CHANGEMODE, NeutrinoMessages::norezap | new_mode);
|
||||
}
|
||||
|
Reference in New Issue
Block a user