input: make slave command file descriptors nonblocking
commit618f760866441a01051a0177529c7524082f4e37
authorUoti Urpala <uau@mplayer2.org>
Wed, 4 May 2011 15:51:36 +0000 (4 18:51 +0300)
committerUoti Urpala <uau@mplayer2.org>
Wed, 4 May 2011 15:53:17 +0000 (4 18:53 +0300)
treef93381a89eb9a1a173b6a7f156ab7b719809c0fe
parent0fff1380b18f4f695d0481fd0cb0e19e1991140a
input: make slave command file descriptors nonblocking

Neither fd 0 slave input (-slave) nor additional opened fds (-input
file=X) were set to nonblocking mode as they should have been. Fix.
Also rename the horribly generic USE_SELECT #define used for a
specific slave input detail.
input/input.c
mplayer.c
osdep/getch2.h