mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
movieplayer: add some console spam to check modes
Origin commit data
------------------
Commit: eae97a31f7
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-05 (Sun, 05 Nov 2017)
Origin message was:
------------------
- movieplayer: add some console spam to check modes
This commit is contained in:
@@ -316,6 +316,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);
|
||||
@@ -326,6 +327,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