[MPlayer-dev-eng] Re: Prefetching/buffering files

Diego Biurrun diego at biurrun.de
Sat Sep 3 14:39:10 CEST 2005


On Fri, Sep 02, 2005 at 09:18:05PM +0000, Anil Nambiar wrote:
> Diego Biurrun <diego <at> biurrun.de> writes:
> 
> > 
> > On Fri, Sep 02, 2005 at 02:15:35PM -0400, Nambiar, Anil wrote:
> > >             In demuxer.c I changed the code in function "ds_fill_buffer". It
> > > checks for packets and then performs read if no packet is available. I
> > > changed it to always read and then perform a check. This was there is some
> > > prefetching or buffering of data, before it is actually needed. It
> > > drastically reduced the frame drops. I have tested the change with a lot of
> > > files and have not observed any sync loss. 
> > 
> > OK, let's see your patch then.
> 
> Sorry for the previous post, I had reversed the files. Here is the patch

Please read DOCS/tech/patches.txt and send us a proper patch, especially
remove all the cosmetics.

Diego




More information about the MPlayer-dev-eng mailing list