feat: add min_fps_target setting (#1043)

This commit is contained in:
ReenigneArcher 2024-06-18 20:09:23 -04:00 committed by GitHub
commit 722e5600c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 44 additions and 3 deletions

View file

@ -331,6 +331,7 @@ namespace config {
0, // hevc_mode
0, // av1_mode
1, // min_fps_factor
2, // min_threads
{
"superfast"s, // preset
@ -1030,6 +1031,7 @@ namespace config {
string_f(vars, "encoder", video.encoder);
string_f(vars, "adapter_name", video.adapter_name);
string_f(vars, "output_name", video.output_name);
int_between_f(vars, "min_fps_factor", video.min_fps_factor, { 1, 3 });
path_f(vars, "pkey", nvhttp.pkey);
path_f(vars, "cert", nvhttp.cert);