mirror of
https://github.com/mpv-player/mpv.git
synced 2026-06-06 20:10:30 +00:00
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:
+1
-1
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user