diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-04-28 12:52:00 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-04-28 12:52:00 +0300 |
commit | 40234b1a3c21cd0ef1087bd5b5e9601dd56c4fce (patch) | |
tree | 22cdc7fb6ddd5222753366eab8dadad8ed768005 /libaf/af.c | |
parent | 3b401fb07f04dd1947402550db6702619bbcb5ce (diff) | |
download | mpv-40234b1a3c21cd0ef1087bd5b5e9601dd56c4fce.tar.bz2 mpv-40234b1a3c21cd0ef1087bd5b5e9601dd56c4fce.tar.xz |
input: make stdin non-blocking for terminal input
getch2.c did not make stdin non-blocking, and relied on only being
called after select() had shown readability. Stop relying on that
assumption and set stdin to non-blocking mode. Hopefully no relevant
platform has problems with this...
Diffstat (limited to 'libaf/af.c')
0 files changed, 0 insertions, 0 deletions