[vlc-devel] [PATCH] Avcodec: limit the number of threads automatically selected to 12
Denis Charmet
typx at dinauz.org
Thu Dec 29 09:31:07 CET 2011
Le mercredi 28 décembre 2011 à 11:59:49, Rafaël Carré a écrit :
> Le 2011-12-28 21:08, Jean-Baptiste Kempf a écrit :
> > It seems that over 16 doesn't behave well. Reduce it further for safety
>
> What is the problem exactly ?
>
IMO, as I said earlier I strongly suspect a race condition in picture
pool with two threads working on the same picture. Would'nt it be
cleaner and safer to just lock/unlock around decoder_NewPicture in
avcodec/video.c ?
Regards,
--
TypX
Le mauvais esprit est un art de vivre
More information about the vlc-devel
mailing list