[MPlayer-dev-eng] Prefetching/buffering files

Diego Biurrun diego at biurrun.de
Fri Sep 2 22:33:14 CEST 2005


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.

Diego




More information about the MPlayer-dev-eng mailing list