[MPlayer-dev-eng] [PATCH] [REPOST] Ericsson phone remote control
arpi at thot.banki.hu
Thu Oct 17 00:00:15 CEST 2002
> > > 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
> why I was always one image after what I sent. fflush() obviously wasn't
> enough, I had to send \n...
hey, set it to char-buffered then (fcntl?).
anyway fflush() should be enough.
> And the "random" drops was because of EOFs being sent by mistake by my old
> Coming soon!
A'rpi / Astral & ESP-team
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng