nvenc: add option to disable realtime hags

This commit is contained in:
ns6089
2023-09-02 15:12:02 +03:00
committed by Cameron Gutman
parent cadb45ec3d
commit 646a569210
5 changed files with 111 additions and 10 deletions

View File

@@ -326,6 +326,7 @@ namespace config {
}, // software
{}, // nv
true, // nv_realtime_hags
{}, // nv_legacy
{
@@ -924,6 +925,7 @@ namespace config {
int_between_f(vars, "nvenc_preset", video.nv.quality_preset, { 1, 7 });
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);
#ifndef __APPLE__
video.nv_legacy.preset = video.nv.quality_preset + 11;