[MPlayer-dev-eng] [PATCH] [REPOST] Ericsson phone remote control

D Richard Felker III dalias at aerifal.cx
Thu Oct 17 00:25:17 CEST 2002


On Wed, Oct 16, 2002 at 11:11:46PM +0200, Per Wigren wrote:
> Wednesday 16 October 2002 16.12 skrev Arpi:
> > Hi,
> >
> > > I have this problem with my bmovl filter also... Some commands get
> > > dropped if we send them faster than the FPS.. That is not acceptable for
> > > a framebuffer
> >
> > I've never heard about FIFO/socket dropping packets/bytes...
> > probably you just don't handle return value of write() or read() properly.
> 
> Close. ;-)
> The FIFO is linebuffered and I didn't send a \n after the image-data.. That's 

Afaik, FIFOs are not and cannot be line buffered. Rather, you're using
silly ANSI C file io stuff which does its own line buffering, rather
than plain open/read/write. Either figure out how to disable the
buffering, or better yet use low-level io.

Rich




More information about the MPlayer-dev-eng mailing list