mpv/input
wm4 8716c2e88f player: use better way to wait for input and dispatching commands
Instead of using input_ctx for waiting, use the dispatch queue directly.
One big change is that the dispatch queue will just process commands
that come in (e.g. from client API) without returning. This should
reduce unnecessary playloop excutions (which is good since the playloop
got a bit fat from rechecking a lot of conditions every iteration).

Since this doesn't force a new playloop iteration on every access, this
has to be enforced manually in some cases.

Normal input (via terminal or VO window) still wakes up the playloop
every time, though that's not too important. It makes testing this
harder, though. If there are missing wakeup calls, it will be noticed
only when using the client API in some form.

At this point we could probably use a normal lock instead of the
dispatch queue stuff.
2016-09-16 14:49:23 +02:00
..
cmd_list.c command: remove vo-cmdline 2016-09-02 21:21:47 +02:00
cmd_list.h command: remove vo-cmdline 2016-09-02 21:21:47 +02:00
cmd_parse.c input: fix parsing multiple input command prefixes 2016-04-17 12:53:30 +02:00
cmd_parse.h Update license headers 2015-04-13 12:10:01 +02:00
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: use better way to wait for input and dispatching commands 2016-09-16 14:49:23 +02:00
input.h player: use better way to wait for input and dispatching commands 2016-09-16 14:49:23 +02:00
ipc-unix.c client API: declare mpv_suspend/mpv_resume deprecated 2016-09-16 14:39:47 +02:00
ipc-win.c client API: declare mpv_suspend/mpv_resume deprecated 2016-09-16 14:39:47 +02:00
ipc.c ipc: add Windows implementation with named pipes 2016-03-23 23:15:20 +11: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