mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 22:58:28 +02:00
neutrino.cpp: fix subchannel up/down processing:
if key_subchannel_up/down is set to different than left/right keys,
and mode_left_right_key_tv == SNeutrinoSettings::VOLUME, CVolume::setVolume called,
but not process other keys, and post msg again -> loop forever.
- process mode_left_right_key_tv modes only if subchannel up/down == left/right
Origin commit data
------------------
Branch: ni/coolstream
Commit: d5cd463e17
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-12-04 (Tue, 04 Dec 2012)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2050,13 +2050,16 @@ void CNeutrinoApp::RealRun(CMenuWidget &mainMenu)
|
|||||||
g_RemoteControl->subChannelDown();
|
g_RemoteControl->subChannelDown();
|
||||||
g_InfoViewer->showSubchan();
|
g_InfoViewer->showSubchan();
|
||||||
}
|
}
|
||||||
else if (g_settings.mode_left_right_key_tv == SNeutrinoSettings::VOLUME) {
|
else if ( msg == CRCInput::RC_left || msg == CRCInput::RC_right) {
|
||||||
g_volume->setVolume(msg, true);
|
if (g_settings.mode_left_right_key_tv == SNeutrinoSettings::VOLUME) {
|
||||||
}
|
g_volume->setVolume(msg, true);
|
||||||
else if((g_settings.mode_left_right_key_tv == SNeutrinoSettings::VZAP) || (g_settings.mode_left_right_key_tv == SNeutrinoSettings::INFOBAR)) {
|
}
|
||||||
if(channelList->getSize()) {
|
else if((g_settings.mode_left_right_key_tv == SNeutrinoSettings::VZAP)
|
||||||
showInfo();
|
|| (g_settings.mode_left_right_key_tv == SNeutrinoSettings::INFOBAR)) {
|
||||||
}
|
if(channelList->getSize()) {
|
||||||
|
showInfo();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
quickZap( msg );
|
quickZap( msg );
|
||||||
|
Reference in New Issue
Block a user