mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- movieplayer: add some console spam to check modes
Signed-off-by: Thilo Graf <dbt@novatux.de>
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