Browse Source

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.
Ryan Foster 3 years ago
parent
commit
b2ff22a587
1 changed files with 2 additions and 2 deletions
  1. 2 2
      UI/obs-app.cpp

+ 2 - 2
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");