[vlc-devel] [PATCH] Avcodec: limit the number of threads automatically selected to 12

Jean-Baptiste Kempf jb at videolan.org
Sun Jan 8 15:48:29 CET 2012


On Thu, Jan 05, 2012 at 10:12:24AM +0100, Denis Charmet wrote :
> Le mardi 03 janvier 2012 à 11:41:09, Laurent Aimar a écrit :
> >  The value should be the dpb_size of the H264 streams (1-16, it depends
> > on the way the stream was created) + number of threads + a small value
> > (it depends on the way ffmpeg works and/or the way we use it, in my last
> > test it seems that 2 was good enough).
> > 
> 
> Wouldn't it be cleaner instead of freeing the oldest image in the pool
> to dynamically increase the pool if needed by vlc_get_cpu_count(),
> at least a limited number of times and then start the vout_FixLeak
> function?

What is the status of this?

Best,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list