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

Hugo Beauzée-Luyssen beauze.h at gmail.com
Fri Dec 30 16:09:44 CET 2011


On Thu, Dec 29, 2011 at 9:07 PM, Rafaël Carré <funman at videolan.org> wrote:
> Le 11-12-29 04:36, Hugo Beauzée-Luyssen a écrit :
>> On Thu, Dec 29, 2011 at 10:25 AM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
>>> On Wed, Dec 28, 2011 at 11:59:49PM -0500, Rafaël Carré wrote :
>>>> 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 ?
>>>
>>> According to ringo, it doesn't work at all with 24 threads. According to
>>> the source, 16 threads is the maximum anyway.
>>>
>>> Best regards,
>>>
>>
>> Doesn't work for me with ffmpeg-threads > 5, on a quad core.
>
> 5 does work?
>
> What is the error, the assertion that Denis reported?
>

5 seems to work for me.

The error is indeed what TypX described :
[0x1519f28] main video output error: pictures leaked, trying to
workaround[0x1519f28] main video output error: pictures leaked, trying
to workaround
....vlc: ../../src/misc/picture_pool.c:266: Release: Assertion
`picture->i_refcount > 0' failed.
-- 
Hugo Beauzée-Luyssen



More information about the vlc-devel mailing list