mirror of
https://github.com/mpv-player/mpv
synced 2025-03-07 22:57:42 +00:00
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. |
||
---|---|---|
.. | ||
client.h | ||
mpv.def | ||
mpv.pc.in | ||
opengl_cb.h | ||
qthelper.hpp | ||
render_gl.h | ||
render.h | ||
stream_cb.h |