mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +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:
committed by
svenhoefer
parent
6604178485
commit
7384e2155e
@@ -3849,6 +3849,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)
|
||||
@@ -3861,7 +3862,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