mirror of
https://github.com/mpv-player/mpv
synced 2025-01-14 19:11:53 +00:00
d6072d7408
The input loop select() call was only run if there was at least one input file descriptor. However other code uses the input loop to wait; this could result in the wait becoming a busy loop when running with -noconsolecontrols (without that there is at least one input fd for terminal input). Make the input loop call select() to sleep even if there are no input file descriptors. |
||
---|---|---|
.. | ||
appleir.c | ||
ar.c | ||
ar.h | ||
input.c | ||
input.h | ||
joystick.c | ||
joystick.h | ||
lirc.c | ||
lirc.h | ||
mouse.h |