mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 19:01:25 +02:00
neutrino: ensure a blank screen in standby mode for e4hdu
Origin commit data
------------------
Commit: 631736cf84
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-01-03 (Wed, 03 Jan 2024)
Origin message was:
------------------
- neutrino: ensure a blank screen in standby mode for e4hdu
This commit is contained in:
@@ -5042,6 +5042,11 @@ void CNeutrinoApp::standbyMode(bool bOnOff, bool fromDeepStandby)
|
|||||||
if (FILE *f = fopen("/tmp/.standby", "w"))
|
if (FILE *f = fopen("/tmp/.standby", "w"))
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
||||||
|
#if BOXMODEL_E4HDULTRA
|
||||||
|
// ensure a blank screen in standby mode
|
||||||
|
videoDecoder->SetControl(VIDEO_CONTROL_ZAPPING_MODE, 2); // force mutetilllock
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_GRAPHLCD
|
#ifdef ENABLE_GRAPHLCD
|
||||||
cGLCD::StandbyMode(true);
|
cGLCD::StandbyMode(true);
|
||||||
#endif
|
#endif
|
||||||
@@ -5131,6 +5136,12 @@ void CNeutrinoApp::standbyMode(bool bOnOff, bool fromDeepStandby)
|
|||||||
CVFD::getInstance()->ShowText("Resume ...");
|
CVFD::getInstance()->ShowText("Resume ...");
|
||||||
if (cpuFreq)
|
if (cpuFreq)
|
||||||
cpuFreq->SetCpuFreq(g_settings.cpufreq * 1000 * 1000);
|
cpuFreq->SetCpuFreq(g_settings.cpufreq * 1000 * 1000);
|
||||||
|
|
||||||
|
#if BOXMODEL_E4HDULTRA
|
||||||
|
// reset to users choice
|
||||||
|
videoDecoder->SetControl(VIDEO_CONTROL_ZAPPING_MODE, g_settings.zappingmode);
|
||||||
|
#endif
|
||||||
|
|
||||||
videoDecoder->Standby(false);
|
videoDecoder->Standby(false);
|
||||||
CEpgScan::getInstance()->Stop();
|
CEpgScan::getInstance()->Stop();
|
||||||
CSectionsdClient::CurrentNextInfo dummy;
|
CSectionsdClient::CurrentNextInfo dummy;
|
||||||
|
Reference in New Issue
Block a user