1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-07 22:57:42 +00:00
mpv/libmpv
wm4 2edf00fb94 client API: send MPV_EVENT_SHUTDOWN only once
Before this change, mpv_wait_event() could inconsistently return
multiple MPV_EVENT_SHUTDOWN events to a single mpv_handle, up to the
point of spamming the event queue under certain circumstances. Change
this and just send it exactly once to each mpv_handle.

Some client API users might have weird requirements about destroying
their state asynchronously (and not reacting immediately to the SHUTDOWN
event). This change will help a bit to make this less weird and
surprising.
2018-03-15 00:00:04 -07:00
..
client.h client API: send MPV_EVENT_SHUTDOWN only once 2018-03-15 00:00:04 -07:00
mpv.def client API: rename mpv_detach_destroy() to mpv_destroy() 2018-03-15 00:00:04 -07:00
mpv.pc.in
opengl_cb.h client API: deprecate opengl-cb API and introduce a replacement API 2018-02-28 00:55:06 -08:00
qthelper.hpp client API: add MPV_ENABLE_DEPRECATED symbol 2017-04-20 06:19:55 +02:00
render_gl.h client API: deprecate opengl-cb API and introduce a replacement API 2018-02-28 00:55:06 -08:00
render.h client API: deprecate opengl-cb API and introduce a replacement API 2018-02-28 00:55:06 -08:00
stream_cb.h