summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-04-24 22:20:03 +0300
committerUoti Urpala <uau@mplayer2.org>2011-05-01 14:44:05 +0300
commit3e86228fad309b54869bf2a3314756933ba74e43 (patch)
tree568fb7657bec4285fbee106e257964f88c876e53 /input/input.h
parent40234b1a3c21cd0ef1087bd5b5e9601dd56c4fce (diff)
downloadmpv-3e86228fad309b54869bf2a3314756933ba74e43.tar.bz2
mpv-3e86228fad309b54869bf2a3314756933ba74e43.tar.xz
input: don't interrupt processing at unbound events
The input code read at most one event per input or command fd. If this event was not bound to any recognized command then no command was returned, and higher-level code could not distinguish this case from there being no pending events left. As a result unbound events would cause extra latency in event processing. Change the input code to continue reading events until it either finds one that maps to a command or hits EOF/error.
Diffstat (limited to 'input/input.h')
0 files changed, 0 insertions, 0 deletions