From b2ff22a587dbe4595145d147abfa854fa2994fad Mon Sep 17 00:00:00 2001 From: Ryan Foster Date: Wed, 12 Oct 2022 21:03:51 -0400 Subject: [PATCH] UI: Swap mq and hq NVENC Preset mappings The old preset "mq" was "Max Quality", which used the old HQ preset with two-pass enabled. The old preset "hq" was "Quality", which used the old HQ preset without two-pass. Of the two, "mq" would have been considered "slower" or "higher quality" than "hq", so let's swap these entries. --- UI/obs-app.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/obs-app.cpp b/UI/obs-app.cpp index 7168901e3..2de469676 100644 --- a/UI/obs-app.cpp +++ b/UI/obs-app.cpp @@ -2821,12 +2821,12 @@ static void convert_28_1_encoder_setting(const char *encoder, const char *file) const char *preset = obs_data_get_string(data, "preset"); - if (astrcmpi(preset, "hq") == 0) { + if (astrcmpi(preset, "mq") == 0) { obs_data_set_string(data, "preset2", "p6"); obs_data_set_string(data, "tune", "hq"); obs_data_set_string(data, "multipass", "qres"); - } else if (astrcmpi(preset, "mq") == 0) { + } else if (astrcmpi(preset, "hq") == 0) { obs_data_set_string(data, "preset2", "p4"); obs_data_set_string(data, "tune", "hq"); obs_data_set_string(data, "multipass", "qres");