arm/mips: more zappingmode options

This commit is contained in:
BPanther
2020-01-26 22:29:18 +01:00
committed by Thilo Graf
parent b6fe299ee6
commit 34fc6368c4
2 changed files with 1 additions and 3 deletions

View File

@@ -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;
}