summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-01 15:30:24 +0100
committerwm4 <wm4@nowhere>2014-12-01 15:30:24 +0100
commit62998e9709f40f44e0e77a3b0635709b350a24ec (patch)
tree273580b2f346ec1c2e917723aee15f34ace92342 /options
parent8c2b78ea5ad8db5c721ffb732e9b54239dc8541d (diff)
downloadmpv-62998e9709f40f44e0e77a3b0635709b350a24ec.tar.bz2
mpv-62998e9709f40f44e0e77a3b0635709b350a24ec.tar.xz
options: fix swapped deprecated/replacement in warning
This was relevant for --af and --vo (both use this option type, and have deprecated aliases).
Diffstat (limited to 'options')
-rw-r--r--options/m_option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/m_option.c b/options/m_option.c
index cb398f6bb9..3c53f206bd 100644
--- a/options/m_option.c
+++ b/options/m_option.c
@@ -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 (desc.replaced_name)
mp_warn(log, "Driver '%s' has been replaced with '%s'!\n",
- desc.name, desc.replaced_name);
+ desc.replaced_name, desc.name);
} else {
if (!list->allow_unknown_entries) {
mp_err(log, "Option %.*s: %.*s doesn't exist.\n",