[vlc-devel] [PATCH] Avcodec: limit the number of threads automatically selected to 12
Denis Charmet
typx at dinauz.org
Thu Jan 5 10:12:24 CET 2012
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?
Regards,
--
TypX
Le mauvais esprit est un art de vivre
More information about the vlc-devel
mailing list