mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +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 ".");
|
puts("[neutrino.cpp] executing " NEUTRINO_ENTER_STANDBY_SCRIPT ".");
|
||||||
if (my_system(NEUTRINO_ENTER_STANDBY_SCRIPT) != 0)
|
if (my_system(NEUTRINO_ENTER_STANDBY_SCRIPT) != 0)
|
||||||
perror(NEUTRINO_ENTER_STANDBY_SCRIPT " failed");
|
perror(NEUTRINO_ENTER_STANDBY_SCRIPT " failed");
|
||||||
|
CEpgScan::getInstance()->Start(true);
|
||||||
bool alive = recordingstatus || CEpgScan::getInstance()->Running() ||
|
bool alive = recordingstatus || CEpgScan::getInstance()->Running() ||
|
||||||
CStreamManager::getInstance()->StreamStatus();
|
CStreamManager::getInstance()->StreamStatus();
|
||||||
if(!alive)
|
if(!alive)
|
||||||
@@ -3987,7 +3988,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
|||||||
frameBuffer->setActive(false);
|
frameBuffer->setActive(false);
|
||||||
// Active standby on
|
// Active standby on
|
||||||
powerManager->SetStandby(false, false);
|
powerManager->SetStandby(false, false);
|
||||||
CEpgScan::getInstance()->Start(true);
|
|
||||||
if (scansettings.fst_update)
|
if (scansettings.fst_update)
|
||||||
fst_timer = g_RCInput->addTimer(30*1000*1000, true);
|
fst_timer = g_RCInput->addTimer(30*1000*1000, true);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user