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.
This commit is contained in:
Ryan Foster
2022-10-12 21:03:51 -04:00
committed by Jim
parent 3dfcdb8c07
commit b2ff22a587

View File

@@ -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");