From 503b124659cd47d7262b5b82e8876111e1a864f7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 26 Sep 2012 23:56:57 +0200 Subject: commands: disable deprecation warnings This disables warning messages when the legacy input command bridge is used. For now, user input.confs should just keep working as if nothing has changed. The deprecation warnings will be enabled again at a later point, and the legacy bridge will be eventually removed. --- input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input') diff --git a/input/input.c b/input/input.c index 17fa9d2215..97da066000 100644 --- a/input/input.c +++ b/input/input.c @@ -843,7 +843,7 @@ mp_cmd_t *mp_input_parse_cmd(bstr str) if (bstrcasecmp(bstr_splice(str, 0, old_len), (bstr) {(char *)entry->old, old_len}) == 0) { - mp_tmsg(MSGT_INPUT, MSGL_WARN, "Warning: command '%s' is " + mp_tmsg(MSGT_INPUT, MSGL_V, "Warning: command '%s' is " "deprecated, replaced with '%s'. Fix your input.conf!\n", entry->old, entry->new); bstr s = bstr_cut(str, old_len); -- cgit v1.2.3