Add nvprefs user override options

This commit is contained in:
ns6089
2023-10-28 12:02:25 +03:00
committed by Cameron Gutman
parent 270716b862
commit 66150872b0
5 changed files with 50 additions and 3 deletions

View File

@@ -329,6 +329,8 @@ namespace config {
{}, // nv
true, // nv_realtime_hags
true, // nv_opengl_vulkan_on_dxgi
true, // nv_sunshine_high_power_mode
{}, // nv_legacy
{
@@ -940,6 +942,8 @@ namespace config {
generic_f(vars, "nvenc_twopass", video.nv.two_pass, nv::twopass_from_view);
bool_f(vars, "nvenc_h264_cavlc", video.nv.h264_cavlc);
bool_f(vars, "nvenc_realtime_hags", video.nv_realtime_hags);
bool_f(vars, "nvenc_opengl_vulkan_on_dxgi", video.nv_opengl_vulkan_on_dxgi);
bool_f(vars, "nvenc_latency_over_power", video.nv_sunshine_high_power_mode);
#ifndef __APPLE__
video.nv_legacy.preset = video.nv.quality_preset + 11;