mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
neutrino.cpp: wakeup power/video before setting CEC
This commit is contained in:
@@ -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 );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user