diff options
author | wm4 <wm4@nowhere> | 2018-03-09 04:46:09 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-03-15 00:00:04 -0700 |
commit | 410a1b49edfbbf7d528fd7dd06b73d06e2f9fce4 (patch) | |
tree | 0861a27aa393997ccf02fe4498beff564a1a538b /DOCS/client-api-changes.rst | |
parent | 782fa455b54f9153abefb64e26b8a25925118fc9 (diff) | |
download | mpv-410a1b49edfbbf7d528fd7dd06b73d06e2f9fce4.tar.bz2 mpv-410a1b49edfbbf7d528fd7dd06b73d06e2f9fce4.tar.xz |
client API: cleanup mpv_handle termination
This changes how mpv_terminate_destroy() and mpv_detach_destroy()
behave. The doxygen in client.h tries to point out the differences. The
goal is to make this more useful to the API user (making it behave like
refcounting).
This will be refined in follow up commits.
Initialization is unfortunately closely tied to termination, so that
changes as well. This also removes earlier hacks that make sure that
some parts of FFmpeg initialization are run in the playback thread
(instead of the user's thread). This does not matter with standard
FFmpeg, and I have no reason to care about this anymore.
Diffstat (limited to 'DOCS/client-api-changes.rst')
-rw-r--r-- | DOCS/client-api-changes.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/DOCS/client-api-changes.rst b/DOCS/client-api-changes.rst index 845953580a..49964f5071 100644 --- a/DOCS/client-api-changes.rst +++ b/DOCS/client-api-changes.rst @@ -33,6 +33,10 @@ API changes :: --- mpv 0.29.0 --- + 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 + situations anymore (it gets closer to refcounting). 1.28 - deprecate the render opengl_cb API, and replace it with render.h and render_gl.h. The goal is allowing support for APIs other than OpenGL. The old API is emulated with the new API. |