mpv/player
wm4 ed71606e65 input: rework how input sources are added
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.
2013-12-21 20:50:13 +01:00
..
lua osc: use mp.send_commandv 2013-12-20 18:02:01 +01:00
timeline player/timeline: mp_msg conversions 2013-12-21 20:50:13 +01:00
audio.c audio: mp_msg conversions 2013-12-21 20:50:12 +01:00
command.c player: replace some overlooked mp_msgs 2013-12-19 21:31:18 +01:00
command.h
configfiles.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
core.h sub/osd: mp_msg conversions 2013-12-21 20:50:13 +01:00
dvdnav.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
loadfile.c sub/osd: mp_msg conversions 2013-12-21 20:50:13 +01:00
lua.c lua: minor simplification 2013-12-21 20:50:11 +01:00
lua.h Rename mp_lua.c/h to lua.c/h 2013-12-17 01:15:48 +01:00
main.c input: rework how input sources are added 2013-12-21 20:50:13 +01:00
misc.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
osd.c Rename getch2....c/h to terminal....c/h 2013-12-19 21:31:27 +01:00
playloop.c player: use MSGL_SMODE for some slave-mode stuff 2013-12-21 20:50:11 +01:00
screenshot.c image_writer: mp_msg conversions 2013-12-21 20:50:10 +01:00
screenshot.h
sub.c sub/osd: mp_msg conversions 2013-12-21 20:50:13 +01:00
video.c video/decode: mp_msg conversions 2013-12-21 20:50:10 +01:00