[MPlayer-dev-eng] Fwd: Re: [MPlayer-users] [BUG] constant stream of errors with lircd
Arpi
arpi at thot.banki.hu
Fri Oct 25 08:27:26 CEST 2002
Albeu?
--------- Forwarded message ---------
From: Jindrich Makovicka <makovick at kmlinux.fjfi.cvut.cz>
To: mplayer-users at mplayerhq.hu
Subject: Re: [MPlayer-users] [BUG] constant stream of errors with lircd
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
There should be some check for MP_INPUT_NOTHING in input.c, like this:
int r =
((mp_cmd_func_t)mp_fd->read_func)(mp_fd->fd,mp_fd->buffer+mp_fd->pos
,mp_fd->size
- 1 - mp_fd->pos);
+ if (r == MP_INPUT_NOTHING) return MP_INPUT_NOTHING;
// Error ?
if(r < 0) {
--
Jindrich Makovicka
_______________________________________________
RTFM!!! http://www.MPlayerHQ.hu/DOCS
Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
http://mplayerhq.hu/mailman/listinfo/mplayer-users
More information about the MPlayer-dev-eng
mailing list