summaryrefslogtreecommitdiffstats
path: root/input/cmd_parse.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-04-30 20:14:49 +0200
committerJan Ekström <jeebjp@gmail.com>2018-05-03 01:20:01 +0300
commit14602b0201dfdbfd10c239fd978df5c269a71883 (patch)
tree64bced308105f75a9f1026d53ddda4371280523d /input/cmd_parse.c
parentb092bb0f1187851546325657ced7819a21fd0096 (diff)
downloadmpv-14602b0201dfdbfd10c239fd978df5c269a71883.tar.bz2
mpv-14602b0201dfdbfd10c239fd978df5c269a71883.tar.xz
input: remove legacy command handling
These are old MPlayer commands that were redundant since 2007 or so. In 2013, mpv explicitly deprecated them (actually removed them, but left this wrapper, which translated them to modern commands). The list was not extended since 2013, and mpv always warned on the terminal when a legacy command was used. So it's time to remove it.
Diffstat (limited to 'input/cmd_parse.c')
-rw-r--r--input/cmd_parse.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/input/cmd_parse.c b/input/cmd_parse.c
index 84d9371d70..da595d4963 100644
--- a/input/cmd_parse.c
+++ b/input/cmd_parse.c
@@ -251,13 +251,6 @@ static struct mp_cmd *parse_cmd_str(struct mp_log *log, void *tmp,
};
ctx->str = bstr_lstrip(ctx->str);
- bstr old = ctx->str;
- if (mp_replace_legacy_cmd(ctx->tmp, &ctx->str)) {
- MP_WARN(ctx, "Warning: command '%.*s' is deprecated, "
- "replaced with '%.*s' at %s.\n",
- BSTR_P(old), BSTR_P(ctx->str), loc);
- ctx->start = ctx->str;
- }
bstr cur_token;
if (pctx_read_token(ctx, &cur_token) < 0)