neutrino/zapit: don't start video when leaving standby

Parental handling was defeated because zapit did start video before
a check for lockstatus could be done.
Fix this by:
* not zapping to the current channel in leaveStandby() in zapit
* explicitly zapping during start and after leaving standby from
  neutrino

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1263 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
seife
2011-03-06 16:35:17 +00:00
parent f21df6067d
commit 3aa7e2f854
2 changed files with 10 additions and 3 deletions

View File

@@ -1980,11 +1980,11 @@ void CNeutrinoApp::InitZapper()
channelsInit();
if(firstchannel.mode == 't') {
tvMode(false);
tvMode(true);
} else {
g_RCInput->killTimer(g_InfoViewer->lcdUpdateTimer);
g_InfoViewer->lcdUpdateTimer = g_RCInput->addTimer( LCD_UPDATE_TIME_RADIO_MODE, false );
radioMode(false);
radioMode(true);
}
if(g_settings.cacheTXT)
tuxtxt_init();
@@ -3985,6 +3985,10 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
g_Zapit->setStandby(false);
if(was_record)
g_Zapit->startPlayBack();
else {
channelList->setSelected(0xfffffff); /* make sure that zapTo_ChannelID will zap */
channelList->zapTo_ChannelID(live_channel_id);
}
if(recordingstatus) was_record = 0;
videoDecoder->Standby(false);