1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 18:42:09 +00:00
mpv/player
wm4 e4fb23ed7d command: add a way to abort asynchronous commands
Many asynchronous commands are potentially long running operations, such
as loading something from network or running a foreign process.
Obviously it shouldn't just be possible for them to freeze the player if
they don't terminate as expected. Also, there will be situations where
you want to explicitly stop some of those operations explicitly. So add
an infrastructure for this.

Commands have to support this explicitly. The next commit uses this to
actually add support to a command.
2018-05-24 19:56:34 +02:00
..
javascript js: use new hooks API (match f60826c3) 2018-04-07 16:02:20 -07:00
lua lua: reimplement mp.subprocess_detached() by invoking the "run" command 2018-05-24 19:56:34 +02:00
audio.c build: make encoding mode non-optional 2018-05-03 01:08:44 +03:00
client.c command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
client.h command: add infrastructure for async commands 2018-05-24 19:56:34 +02:00
command.c command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
command.h command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
configfiles.c player: silence config file loading message on resuming 2018-01-13 03:26:45 -08:00
core.h command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02: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 js: use new hooks API (match f60826c3) 2018-04-07 16:02:20 -07:00
loadfile.c command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
lua.c lua: reimplement mp.subprocess_detached() by invoking the "run" command 2018-05-24 19:56:34 +02:00
main.c command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
misc.c options: move most subtitle and OSD rendering options to sub structs 2018-01-02 14:27:37 -08:00
osd.c build: make encoding mode non-optional 2018-05-03 01:08:44 +03:00
playloop.c command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
screenshot.c command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
screenshot.h command: move screenshot command stubs to screenshot.c 2018-05-24 19:56:34 +02:00
scripting.c scripting: change when/how player waits for scripts being loaded 2018-04-18 01:17:41 +03:00
sub.c video: make decoder wrapper a filter 2018-01-30 03:10:27 -08:00
video.c video: trust container FPS early on if possible 2018-05-24 19:56:34 +02:00