summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-26 23:56:57 +0200
committerwm4 <wm4@nowhere>2012-10-12 10:10:32 +0200
commit503b124659cd47d7262b5b82e8876111e1a864f7 (patch)
tree0ced8ee5e948f60e5eb63320e1303eb096f7a228 /input
parentea90bdbfa280e54fc4efe6a01a1bf2b3c4715862 (diff)
downloadmpv-503b124659cd47d7262b5b82e8876111e1a864f7.tar.bz2
mpv-503b124659cd47d7262b5b82e8876111e1a864f7.tar.xz
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.
Diffstat (limited to 'input')
-rw-r--r--input/input.c2
1 files changed, 1 insertions, 1 deletions
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);