arm: add black screen in channel swiching

Origin commit data
------------------
Branch: master
Commit: 94150330b0
Author: redblue-pkt <redblue-pkt@orange.pl>
Date: 2018-12-28 (Fri, 28 Dec 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
redblue-pkt
2018-12-28 22:22:58 +01:00
committed by max_10
parent eb20719aad
commit 7d3e06e0c4
2 changed files with 7 additions and 0 deletions

View File

@@ -863,6 +863,11 @@ void cVideo::SetControl(int control, int value)
scaler_sharpness = value;
p = "/proc/stb/vmpeg/0/pep_scaler_sharpness";
break;
case VIDEO_CONTROL_ZAPPING_MODE:
zapping_mode = value;
const char *mode_zapping[] = { "hold", "mute" };
proc_put("/proc/stb/video/zapping_mode", mode_zapping[zapping_mode], strlen(mode_zapping[zapping_mode]));
break;
}
if (p) {
char buf[20];

View File

@@ -141,6 +141,7 @@ typedef enum
VIDEO_CONTROL_BLUE_BOOST,
VIDEO_CONTROL_DYNAMIC_CONTRAST,
VIDEO_CONTROL_SCALER_SHARPNESS,
VIDEO_CONTROL_ZAPPING_MODE,
VIDEO_CONTROL_MAX = VIDEO_CONTROL_SHARPNESS
} VIDEO_CONTROL;
@@ -183,6 +184,7 @@ class cVideo
int blue_boost;
int dynamic_contrast;
int scaler_sharpness;
int zapping_mode;
/* used internally by dmx */
int64_t GetPTS(void);