1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 05:15:12 +00:00
mpv/input
wm4 f5af596237 player: some more input refactoring
Continues commit 348dfd93. Replace other places where input was manually
fetched with common code.

demux_was_interrupted() was a weird function; I'm not entirely sure
about its original purpose, but now we can just replace it with simpler
code as well. One difference is that we always look at the command
queue, rather than just when cache initialization failed. Also, instead
of discarding all but quit/playlist commands (aka abort command), run
all commands. This could possibly lead to unwanted side-effects, like
just ignoring commands that have no effect (consider pressing 'f' for
fullscreen right on start: since the window is not created yet, it would
get discarded). But playlist navigation still works as intended, and
some if not all these problems already existed before that in some
forms, so it should be ok.
2014-09-07 20:44:54 +02:00
..
cmd_list.c command: add append-play loadfile mode 2014-07-23 00:20:53 +02:00
cmd_list.h command: redo ancient TV/DVB/PVR commands 2014-06-11 00:34:41 +02:00
cmd_parse.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
cmd_parse.h input: split off some code from input.c to separate files 2013-12-26 17:13:25 +01:00
event.c input: change mp_input_run_cmd signature 2014-01-04 19:42:16 +01:00
event.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
input.c player: some more input refactoring 2014-09-07 20:44:54 +02:00
input.h player: some more input refactoring 2014-09-07 20:44:54 +02:00
joystick.c Kill all tabs 2014-04-13 18:03:01 +02:00
joystick.h input: rework how input sources are added 2013-12-21 20:50:13 +01:00
keycodes.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
keycodes.h input: make key bindings like "Shift+X" work (for ASCII) 2014-08-26 20:39:28 +02:00
lirc.c input: enable wakeup on LIRC socket 2014-07-20 13:52:06 +02:00
lirc.h input: rework how input sources are added 2013-12-21 20:50:13 +01:00
pipe.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00