mirror of
https://github.com/mpv-player/mpv
synced 2025-01-14 19:11:53 +00:00
options: fix swapped deprecated/replacement in warning
This was relevant for --af and --vo (both use this option type, and have deprecated aliases).
This commit is contained in:
parent
8c2b78ea5a
commit
62998e9709
@ -2619,7 +2619,7 @@ static int parse_obj_settings(struct mp_log *log, struct bstr opt,
|
|||||||
if (m_obj_list_find(&desc, list, str)) {
|
if (m_obj_list_find(&desc, list, str)) {
|
||||||
if (desc.replaced_name)
|
if (desc.replaced_name)
|
||||||
mp_warn(log, "Driver '%s' has been replaced with '%s'!\n",
|
mp_warn(log, "Driver '%s' has been replaced with '%s'!\n",
|
||||||
desc.name, desc.replaced_name);
|
desc.replaced_name, desc.name);
|
||||||
} else {
|
} else {
|
||||||
if (!list->allow_unknown_entries) {
|
if (!list->allow_unknown_entries) {
|
||||||
mp_err(log, "Option %.*s: %.*s doesn't exist.\n",
|
mp_err(log, "Option %.*s: %.*s doesn't exist.\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user