mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user