diff options
author | wm4 <wm4@nowhere> | 2016-06-29 18:10:15 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-06-29 18:10:15 +0200 |
commit | e40851ea22e9686572b6a905161106f2a66e5983 (patch) | |
tree | 5968b6aeea2037c219a3868f7571a73286e3dc97 /options | |
parent | 9ed5dae4804512d40b050007b282eef8daff8818 (diff) | |
download | mpv-e40851ea22e9686572b6a905161106f2a66e5983.tar.bz2 mpv-e40851ea22e9686572b6a905161106f2a66e5983.tar.xz |
options: deprecate --heartbeat-cmd
It's useless. --heartbeat-interval is also considered deprecated, but
this is not made explicit.
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c index bb2ccb5220..0304d4e0c7 100644 --- a/options/options.c +++ b/options/options.c @@ -469,7 +469,8 @@ const m_option_t mp_opts[] = { OPT_STRING("vo-mmcss-profile", vo.mmcss_profile, M_OPT_FIXED), #endif - OPT_STRING("heartbeat-cmd", heartbeat_cmd, 0), + OPT_STRING("heartbeat-cmd", heartbeat_cmd, 0, + .deprecation_message = "use Lua scripting instead"), OPT_FLOAT("heartbeat-interval", heartbeat_interval, CONF_MIN, 0), OPT_CHOICE_OR_INT("screen", vo.screen_id, 0, 0, 32, |