summaryrefslogtreecommitdiffstats
path: root/DOCS/client-api-changes.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-08 09:59:38 +0100
committerwm4 <wm4@nowhere>2014-11-08 10:19:07 +0100
commitf5c2e3d6e2372546c46dd32ceab1a5c41e19465b (patch)
tree138c51b8484d04ed913a7a5b57378b04fe9e3929 /DOCS/client-api-changes.rst
parent1a5650b62837308a0106a365a9fd26057defaf67 (diff)
downloadmpv-f5c2e3d6e2372546c46dd32ceab1a5c41e19465b.tar.bz2
mpv-f5c2e3d6e2372546c46dd32ceab1a5c41e19465b.tar.xz
client API: deprecate some events
Following the discussion in #1253. The events won't be removed for a while, though. (Or maybe never, unless we run out of bits for the uint64_t event mask.) This is not a real change (the events still work, and the alternative mechanisms were established a few API revisions earlier), but for the sake of notifying API users, update DOCS/client-api-changes.rst.
Diffstat (limited to 'DOCS/client-api-changes.rst')
-rw-r--r--DOCS/client-api-changes.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/DOCS/client-api-changes.rst b/DOCS/client-api-changes.rst
index eee27c6a3f..9490fa4b7a 100644
--- a/DOCS/client-api-changes.rst
+++ b/DOCS/client-api-changes.rst
@@ -31,6 +31,15 @@ API changes
- add --stop-playback-on-init-failure option, and make it the default
behavior for libmpv only
- add qthelper.hpp set_option_variant()
+ - mark the following events as deprecated:
+ MPV_EVENT_TRACKS_CHANGED
+ MPV_EVENT_TRACK_SWITCHED
+ MPV_EVENT_PAUSE
+ MPV_EVENT_UNPAUSE
+ MPV_EVENT_METADATA_UPDATE
+ MPV_EVENT_CHAPTER_CHANGE
+ They are handled better with mpv_observe_property() as mentioned in
+ the documentation comments. They are not removed and still work.
1.8 - add qthelper.hpp
1.7 - add mpv_command_node(), mpv_command_node_async()
1.6 - modify "core-idle" property behavior