neutrino: pause sectionsd and set video blank before epg gets saved @standby

- some indentation fixes

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1614 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: a0c46b44cd
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-08-02 (Tue, 02 Aug 2011)

Origin message was:
------------------
- neutrino: pause sectionsd and set video blank before epg gets saved @standby
- some indentation fixes

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1614 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
gixxpunk
2011-08-02 15:59:18 +00:00
parent 866fa9ed46
commit 7a07487396

View File

@@ -3549,25 +3549,27 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
wasshift = CRecordManager::getInstance()->StopAutoRecord();
if(!CRecordManager::getInstance()->RecordingStatus()) {
if(g_settings.epg_save)
saveEpg();
g_Zapit->setStandby(true);
cpuFreq->SetCpuFreq(g_settings.standby_cpufreq * 1000 * 1000);
} else
} else {
g_Zapit->stopPlayBack();
}
videoDecoder->Standby(true);
g_Sectionsd->setServiceChanged(0, false);
g_Sectionsd->setPauseScanning(true);
#if 0
if(g_settings.epg_save) {
saveEpg();
if(!CRecordManager::getInstance()->RecordingStatus()) {
//only save epg when not recording
if(g_settings.epg_save) {
saveEpg();
}
}
if(g_settings.mode_clock) {
InfoClock->StopClock();
}
#endif
if(g_settings.mode_clock)
InfoClock->StopClock();
//remember tuned channel-id
standby_channel_id = live_channel_id;