summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-04-22 09:01:58 +0300
committerUoti Urpala <uau@mplayer2.org>2011-04-22 09:34:03 +0300
commitd6072d740826dd112eaeccc09c3f3bf46a8ece26 (patch)
tree2e805a720f76838592a9962bb8c5e221aefb40c9 /drivers
parentc2067cabafa272dc96d51a3969c024d09fb7a78d (diff)
downloadmpv-d6072d740826dd112eaeccc09c3f3bf46a8ece26.tar.bz2
mpv-d6072d740826dd112eaeccc09c3f3bf46a8ece26.tar.xz
input: sleep in event loop even if there are no input fds
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.
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions