mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
arm/mips: more zappingmode options
Origin commit data
------------------
Branch: master
Commit: 87374b573b
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2020-01-26 (Sun, 26 Jan 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -38,8 +38,6 @@ void hal_api_init()
|
||||
proc_put("/proc/stb/fb/dst_width", buffer, strlen(buffer));
|
||||
sprintf(buffer, "%x", 1);
|
||||
proc_put("/proc/stb/fb/dst_apply", buffer, strlen(buffer));
|
||||
sprintf(buffer, "%s", "mute");
|
||||
proc_put("/proc/stb/video/zapmode", buffer, strlen(buffer));
|
||||
#if BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUULTIMO4K || BOXMODEL_VUUNO4KSE || BOXMODEL_VUUNO4K
|
||||
sprintf(buffer, "%s", "enable");
|
||||
proc_put("/proc/stb/frontend/fbc/fcc", buffer, strlen(buffer));
|
||||
|
@@ -945,7 +945,7 @@ void cVideo::SetControl(int control, int value)
|
||||
break;
|
||||
case VIDEO_CONTROL_ZAPPING_MODE:
|
||||
zapping_mode = value;
|
||||
const char *mode_zapping[] = { "hold", "mute" };
|
||||
const char *mode_zapping[] = { "mute", "hold", "mutetilllock", "holdtilllock"};
|
||||
proc_put("/proc/stb/video/zapmode", mode_zapping[zapping_mode], strlen(mode_zapping[zapping_mode]));
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user