mirror of
https://github.com/mpv-player/mpv
synced 2025-02-21 15:27:00 +00:00
Until now, there were two functions to add input sources (stuff like stdin input, slave mode, lirc, joystick). Unify them to a single function (mp_input_add_fd()), and make sure the associated callbacks always have a context parameter. Change the lirc and joystick code such that they take store their state in a context struct (probably worthless), and use the new mp_msg replacements (the point of this refactoring). Additionally, get rid of the ugly USE_FD0_CMD_SELECT etc. ifdeffery in the terminal handling code. |
||
---|---|---|
.. | ||
lua | ||
timeline | ||
audio.c | ||
command.c | ||
command.h | ||
configfiles.c | ||
core.h | ||
dvdnav.c | ||
loadfile.c | ||
lua.c | ||
lua.h | ||
main.c | ||
misc.c | ||
osd.c | ||
playloop.c | ||
screenshot.c | ||
screenshot.h | ||
sub.c | ||
video.c |