Add webui config for following client HDR settings

This commit is contained in:
Yukino Song
2024-09-07 01:06:33 +08:00
parent c2aefb2a2f
commit f9b9a76639
7 changed files with 81 additions and 68 deletions

View File

@@ -327,6 +327,7 @@ namespace config {
video_t video {
false, // headless_mode
false, // follow_client_hdr
28, // qp
0, // hevc_mode
@@ -950,6 +951,7 @@ namespace config {
}
bool_f(vars, "headless_mode", video.headless_mode);
bool_f(vars, "follow_client_hdr", video.follow_client_hdr);
int_f(vars, "qp", video.qp);
int_f(vars, "min_threads", video.min_threads);
int_between_f(vars, "hevc_mode", video.hevc_mode, { 0, 3 });