mpv/input
wm4 12d1404b04 player: make various commands for managing external tracks abortable
Until now, they could be aborted only by ending playback, and calling
mpv_abort_async_command didn't do anything.

This requires furthering the mess how playback abort is done. The main
reason why mp_cancel exists at all is to avoid that a "frozen" demuxer
(blocked on network I/O or whatever) cannot freeze the core. The core
should always get its way. Previously, there was a single mp_cancel
handle, that could be signaled, and all demuxers would unfreeze. With
external files, we might want to abort loading of a certain external
file, which automatically means they need a separate mp_cancel. So give
every demuxer its own mp_cancel, and "slave" it to whatever parent
mp_cancel handles aborting.

Since the mpv demuxer API conflates creating the demuxer and reading the
file headers, mp_cancel strictly need to be created before the demuxer
is created (or we couldn't abort loading). Although we give every
demuxer its own mp_cancel (as "enforced" by cancel_and_free_demuxer),
it's still rather messy to create/destroy it along with the demuxer.
2018-05-24 19:56:35 +02:00
..
cmd.c input: slightly improve --input-cmdlist output 2018-05-24 19:56:34 +02:00
cmd.h player: make various commands for managing external tracks abortable 2018-05-24 19:56:35 +02:00
event.c
event.h
input.c input: rename weirdly named function 2018-05-03 01:20:01 +03:00
input.h input: move an enum back to its correct place 2018-05-24 19:56:33 +02:00
ipc-dummy.c build: change how some OS specific source files are selected 2017-06-29 10:30:16 +02:00
ipc-unix.c all: replace mpv_detach_destroy() with mpv_destroy() 2018-03-15 00:00:04 -07:00
ipc-win.c all: replace mpv_detach_destroy() with mpv_destroy() 2018-03-15 00:00:04 -07:00
ipc.c ipc: some user-visible changes to prepare for making all commands async 2018-05-24 19:56:34 +02:00
keycodes.c input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
keycodes.h input: add a define for the number of mouse buttons and use it 2018-05-24 19:56:34 +02:00
pipe-win32.c osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02:00