consume empty lirc events at once.

Patch by Lev A. Melnikovsky {leva at kapitza ras ru}.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15826 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar
2005-06-27 08:16:23 +00:00
parent 55f6ab49eb
commit 189e0d00a6
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ int mp_input_lirc_read(int fd,char* dest, int s) {
else if(cmd_buf) // return the first command in the buffer
return mp_input_lirc_read(fd,dest,s);
else
return MP_INPUT_NOTHING;
return MP_INPUT_RETRY;
}