Implement frontend part for Double refreshrate. Resolves #299

This commit is contained in:
Yukino Song
2025-02-05 07:35:42 +08:00
parent bf78a33831
commit 1c8bd0cdb5
7 changed files with 25 additions and 9 deletions

View File

@@ -418,7 +418,7 @@ namespace config {
video_t video {
false, // headless_mode
true, // limit_framerate
false, // double_framerate
false, // double_refreshrate
28, // qp
0, // hevc_mode
@@ -1093,7 +1093,7 @@ namespace config {
bool_f(vars, "headless_mode", video.headless_mode);
bool_f(vars, "limit_framerate", video.limit_framerate);
bool_f(vars, "double_framerate", video.double_framerate);
bool_f(vars, "double_refreshrate", video.double_refreshrate);
int_f(vars, "qp", video.qp);
int_between_f(vars, "hevc_mode", video.hevc_mode, { 0, 3 });
int_between_f(vars, "av1_mode", video.av1_mode, { 0, 3 });