summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-03-23 16:24:17 +0100
committerwm4 <wm4@nowhere>2018-03-26 19:47:08 +0200
commit6d7cfdfae582353e1f10797bb2c587e6ada0aed7 (patch)
tree2a28a256da10e18d9f25120b85806436f2ebdd5f /DOCS
parent5532d8cffe98817ac223187b7daad2f1d8d9c085 (diff)
downloadmpv-6d7cfdfae582353e1f10797bb2c587e6ada0aed7.tar.bz2
mpv-6d7cfdfae582353e1f10797bb2c587e6ada0aed7.tar.xz
client API: deprecate mpv_get_wakeup_pipe()
I don't think anything even uses it.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/client-api-changes.rst3
-rw-r--r--DOCS/man/lua.rst2
2 files changed, 4 insertions, 1 deletions
diff --git a/DOCS/client-api-changes.rst b/DOCS/client-api-changes.rst
index 38fbc284b0..83db23df30 100644
--- a/DOCS/client-api-changes.rst
+++ b/DOCS/client-api-changes.rst
@@ -38,6 +38,9 @@ API changes
API. This also means compatibility for anything but x11 and wayland
through the old opengl-cb GL_MP_MPGetNativeDisplay method is now
unsupported.
+ - deprecate mpv_get_wakeup_pipe(). It's complex, but easy to replace
+ using normal API (just set a wakeup callback to a function which
+ writes to a pipe).
1.29 - the behavior of mpv_terminate_destroy() and mpv_detach_destroy()
changes subtly (see documentation in the header file). In particular,
mpv_detach_destroy() will not leave the player running in all
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst
index 53e6d1db21..be2cf5bcb8 100644
--- a/DOCS/man/lua.rst
+++ b/DOCS/man/lua.rst
@@ -427,7 +427,7 @@ are useful only in special situations.
``mp.get_wakeup_pipe()``
Calls ``mpv_get_wakeup_pipe()`` and returns the read end of the wakeup
- pipe. (See ``client.h`` for details.)
+ pipe. This is deprecated, but still works. (See ``client.h`` for details.)
``mp.get_next_timeout()``
Return the relative time in seconds when the next timer (``mp.add_timeout``