summaryrefslogtreecommitdiffstats
path: root/DOCS/interface-changes.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-06 19:23:14 +0100
committerwm4 <wm4@nowhere>2020-03-06 19:23:14 +0100
commit2337fa4e0213993398d36cb3222633766d677dfd (patch)
tree2cde81d55f16a61c1512ff537001c2e34e6acf97 /DOCS/interface-changes.rst
parent7a76b577d85ddc8f9e255b1a1c195ee88b76a7d8 (diff)
downloadmpv-2337fa4e0213993398d36cb3222633766d677dfd.tar.bz2
mpv-2337fa4e0213993398d36cb3222633766d677dfd.tar.xz
command: remove legacy hook API
Hopefully nothing uses this. (I know one exception, but, well, what can I do.)
Diffstat (limited to 'DOCS/interface-changes.rst')
-rw-r--r--DOCS/interface-changes.rst3
1 files changed, 3 insertions, 0 deletions
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