1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00
mpv/input
wm4 c54c3b6991 player: restructure cancel callback
As preparation for file prefetching, we basically have to get rid of
using mpctx->playback_abort for the main demuxer (i.e. the thing that
can be prefetched). It can't be changed on a running demuxer, and always
using the same cancel handle would either mean aborting playback would
also abort prefetching, or that playback can't be aborted anymore.

Make this more flexible with some refactoring.

Thi is a quite shitty solution if you ask me, but YOLO.
2017-01-18 17:52:05 +01:00
..
cmd_list.c command: add a load-script command 2016-09-22 20:57:06 +02:00
cmd_list.h command: add a load-script command 2016-09-22 20:57:06 +02:00
cmd_parse.c input: fix parsing multiple input command prefixes 2016-04-17 12:53:30 +02:00
cmd_parse.h
event.c Use - as command-name separator everywhere 2016-07-14 22:37:42 +02:00
event.h input/event.h: add include guard 2016-03-15 22:44:15 +01:00
input.c player: restructure cancel callback 2017-01-18 17:52:05 +01:00
input.h player: restructure cancel callback 2017-01-18 17:52:05 +01:00
ipc-unix.c ipc: log when listening to IPC socket 2016-09-29 16:47:19 +02:00
ipc-win.c ipc: log when listening to IPC socket 2016-09-29 16:47:19 +02:00
ipc.c client API: turn mpv_suspend() and mpv_resume() into stubs 2016-11-22 15:54:44 +01:00
keycodes.c input: add a catch-all "unmapped" command 2015-12-23 19:13:45 +01:00
keycodes.h input: add a catch-all "unmapped" command 2015-12-23 19:13:45 +01:00
pipe-win32.c osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02:00