From 2337fa4e0213993398d36cb3222633766d677dfd Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 6 Mar 2020 19:23:14 +0100 Subject: command: remove legacy hook API Hopefully nothing uses this. (I know one exception, but, well, what can I do.) --- DOCS/interface-changes.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'DOCS/interface-changes.rst') diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 991ba6aca3..0c9c7f6831 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -35,6 +35,9 @@ Interface changes - the OSX bundle now logs to "~/Library/Logs/mpv.log" by default - deprecate the --cache-secs option (once removed, the cache cannot be limited by time anymore) + - remove deprecated legacy hook API ("hook-add", "hook-ack"). Use either the + libmpv API (mpv_hook_add(), mpv_hook_continue()), or the Lua scripting + wrappers (mp.add_hook()). --- mpv 0.32.0 --- - change behavior when using legacy option syntax with options that start with two dashes (``--`` instead of a ``-``). Now, using the recommended -- cgit v1.2.3