summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-13 21:46:38 +0100
committerwm4 <wm4@nowhere>2015-02-13 21:48:11 +0100
commitfd5403cb404ca8fb30c2c6b1f415201bbce40d77 (patch)
tree4834b26709edfe67b2c75b4cb4a981f5f38658a5 /player/command.c
parent417869f845d34596d8651fd9c38e6c74d56fecee (diff)
downloadmpv-fd5403cb404ca8fb30c2c6b1f415201bbce40d77.tar.bz2
mpv-fd5403cb404ca8fb30c2c6b1f415201bbce40d77.tar.xz
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.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c4
1 files changed, 4 insertions, 0 deletions
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;
}