[MPlayer-dev-eng] Why MAX_PACKS and MAX_PACK_BYTES ?

D Richard Felker III dalias at aerifal.cx
Wed Oct 13 18:15:01 CEST 2004


On Wed, Oct 13, 2004 at 05:08:32PM +0200, Attila Kinali wrote:
> On Wed, 17 Mar 2004 18:36:12 +0100
> Nico <nsabbi at tiscali.it> wrote:
> 
> > searching in the source tree  it seems that the only use of MAX_PACKS 
> > and MAX_PACK_BYTES is to
> > set a threshold to block demuxer->audio and demuxer->video to be 
> > refilled; the question is why?
> > Can anyone explain why the fifos shouldn't be refilled? and the reason 
> > for those values ? (they seem to be based
> > on euristhics)
> 
> Can someone please answer this question ?

afaik it's so memory usage doesn't grow to infinity on broken files...

rich




More information about the MPlayer-dev-eng mailing list