mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
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:
@@ -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];
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user