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:
vanhofen
2017-11-05 01:30:16 +01:00
parent 9b246d3c6c
commit fe80e11f72

View File

@@ -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);
}