From 14602b0201dfdbfd10c239fd978df5c269a71883 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 30 Apr 2018 20:14:49 +0200 Subject: 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. --- input/cmd_parse.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'input/cmd_parse.c') 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) -- cgit v1.2.3