mpv/player
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
..
javascript js: implement mp.msg.trace() 2017-12-16 02:25:24 -08:00
lua ytdl_hook: add ytdl:// prefix again for non-youtube playlists 2018-02-11 23:27:37 -08:00
audio.c audio: improve behavior if filters output nothing during probing 2018-02-21 22:35:24 -08:00
client.c client API: send MPV_EVENT_SHUTDOWN only once 2018-03-15 00:00:04 -07:00
client.h client API: add mpv_create_weak_client() 2018-03-15 00:00:04 -07:00
command.c command: fix whitespace 2018-03-03 02:38:01 +02:00
command.h player: update duration based on highest timestamp demuxed 2017-12-24 21:49:12 +01:00
configfiles.c player: silence config file loading message on resuming 2018-01-13 03:26:45 -08:00
core.h client API: cleanup mpv_handle termination 2018-03-15 00:00:04 -07:00
external_files.c player: make track language matching case insensitive 2017-12-23 15:14:13 -07:00
external_files.h external_files: change license to LGPL 2017-06-20 14:22:10 +02:00
javascript.c lua+js: Implement utils.getpid() 2018-02-13 20:16:01 -08:00
loadfile.c player: fix strange behavior on edition switching 2018-03-03 02:38:01 +02:00
lua.c lua+js: Implement utils.getpid() 2018-02-13 20:16:01 -08:00
main.c client API: cleanup mpv_handle termination 2018-03-15 00:00:04 -07:00
misc.c options: move most subtitle and OSD rendering options to sub structs 2018-01-02 14:27:37 -08:00
osd.c video: make decoder wrapper a filter 2018-01-30 03:10:27 -08:00
playloop.c client API: deprecate opengl-cb API and introduce a replacement API 2018-02-28 00:55:06 -08:00
screenshot.c vo_gpu: make screenshots use the GL renderer 2018-02-11 17:45:51 -08:00
screenshot.h player: make screenshot commands honor the async flag 2017-04-01 20:47:23 +02:00
scripting.c all: replace mpv_detach_destroy() with mpv_destroy() 2018-03-15 00:00:04 -07:00
sub.c video: make decoder wrapper a filter 2018-01-30 03:10:27 -08:00
video.c video: add option to reduce latency by 1 or 2 frames 2018-03-03 02:38:01 +02:00