neutrino.cpp: wakeup power/video before setting CEC

This commit is contained in:
[CST] Focus
2012-04-16 17:59:31 +04:00
parent fa8f5f07d5
commit 39c0b7c28b

View File

@@ -3231,6 +3231,9 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
powerManager->SetStandby(true, false); powerManager->SetStandby(true, false);
} else { } else {
// Active standby off // Active standby off
cpuFreq->SetCpuFreq(g_settings.cpufreq * 1000 * 1000);
powerManager->SetStandby(false, false);
videoDecoder->Standby(false);
if(init_cec_setting){ if(init_cec_setting){
//init cec settings //init cec settings
@@ -3239,10 +3242,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
init_cec_setting = false; init_cec_setting = false;
} }
cpuFreq->SetCpuFreq(g_settings.cpufreq * 1000 * 1000);
powerManager->SetStandby(false, false);
if(!recordingstatus && g_settings.ci_standby_reset) { if(!recordingstatus && g_settings.ci_standby_reset) {
g_CamHandler->exec(NULL, "ca_ci_reset0"); g_CamHandler->exec(NULL, "ca_ci_reset0");
g_CamHandler->exec(NULL, "ca_ci_reset1"); g_CamHandler->exec(NULL, "ca_ci_reset1");
@@ -3286,7 +3285,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
channelList->setSelected(0xfffffff); /* make sure that zapTo_ChannelID will zap */ channelList->setSelected(0xfffffff); /* make sure that zapTo_ChannelID will zap */
channelList->zapTo_ChannelID(live_channel_id); channelList->zapTo_ChannelID(live_channel_id);
videoDecoder->Standby(false);
g_Sectionsd->setPauseScanning(false); g_Sectionsd->setPauseScanning(false);
//g_Sectionsd->setServiceChanged(live_channel_id, true ); //g_Sectionsd->setServiceChanged(live_channel_id, true );