mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
neutrino: move start of standby epgscan forward
this avoids that cpufreq is set to standby value before epgscan is started, resulting in poor performance
This commit is contained in:
@@ -3975,6 +3975,7 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
||||
puts("[neutrino.cpp] executing " NEUTRINO_ENTER_STANDBY_SCRIPT ".");
|
||||
if (my_system(NEUTRINO_ENTER_STANDBY_SCRIPT) != 0)
|
||||
perror(NEUTRINO_ENTER_STANDBY_SCRIPT " failed");
|
||||
CEpgScan::getInstance()->Start(true);
|
||||
bool alive = recordingstatus || CEpgScan::getInstance()->Running() ||
|
||||
CStreamManager::getInstance()->StreamStatus();
|
||||
if(!alive)
|
||||
@@ -3987,7 +3988,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
||||
frameBuffer->setActive(false);
|
||||
// Active standby on
|
||||
powerManager->SetStandby(false, false);
|
||||
CEpgScan::getInstance()->Start(true);
|
||||
if (scansettings.fst_update)
|
||||
fst_timer = g_RCInput->addTimer(30*1000*1000, true);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user