From fd5403cb404ca8fb30c2c6b1f415201bbce40d77 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 13 Feb 2015 21:46:38 +0100 Subject: command: mark get_property as deprecated Using it just makes no sense. But we're really being nice about this and don't remove it immediately. --- player/command.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'player/command.c') diff --git a/player/command.c b/player/command.c index 07a9206b53..8e3d38ebfe 100644 --- a/player/command.c +++ b/player/command.c @@ -4328,6 +4328,10 @@ int run_command(MPContext *mpctx, mp_cmd_t *cmd) } MP_INFO(mpctx, "ANS_%s=%s\n", cmd->args[0].v.s, tmp); talloc_free(tmp); + MP_WARN(mpctx, "The get_property command is deprecated and " + "will be removed in the next release.\n" + "Use libmpv or the JSON IPC. " + "(Or print_text, if you must.)"); break; } -- cgit v1.2.3