neutrino: fix tv/radio switch for coolstream; ...

the TV/Radio key returns RC_tv. So we can't use RC_radio code here.

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 6911ffe0b6
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-17 (Fri, 17 Nov 2017)

Origin message was:
------------------
- neutrino: fix tv/radio switch for coolstream; ...

the TV/Radio key returns RC_tv. So we can't use RC_radio code here.

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
vanhofen
2017-11-17 09:17:40 +01:00
committed by Thilo Graf
parent 450d77a6f4
commit b16b5d3048

View File

@@ -2778,6 +2778,7 @@ void CNeutrinoApp::RealRun()
StartSubtitles();
}
else if (((msg == CRCInput::RC_tv) || (msg == CRCInput::RC_radio)) && (g_settings.key_tvradio_mode == (int)CRCInput::RC_nokey)) {
#if HAVE_ARM_HARDWARE
if (msg == CRCInput::RC_tv)
{
if (mode == mode_radio || mode == mode_webradio)
@@ -2789,6 +2790,7 @@ void CNeutrinoApp::RealRun()
radioMode();
}
else
#endif
switchTvRadioMode(); //used with defined default tv/radio rc key
}
/* in case key_subchannel_up/down redefined */