Do not use select n lirc code, instead set the fd non-blocking.
commit88aca1ef25806c743f6ab95d3eed81ffc032f08d
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Tue, 27 Jan 2009 19:06:50 +0000 (27 19:06 +0000)
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Tue, 27 Jan 2009 19:06:50 +0000 (27 19:06 +0000)
treeac8b580a018ed9e03474f8e44b440ca30cc2a1c6
parent7fcf438a2f3b169dac45f609571275336ce958f5
Do not use select n lirc code, instead set the fd non-blocking.
select can not work because lirc_nextcode buffers data internally,
causing events to be delayed until the next keypress in some cases.
Patch by Dennis Vshivkov [jaimor (at) orcon net nz]

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28380 b3059339-0415-0410-9bf9-f77b7e298cf2
input/lirc.c