mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-05 23:26:13 -05:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user