[vlc-devel] [PATCH] avcodec: disable threading by default

Rémi Denis-Courmont remi at remlab.net
Sun Sep 16 09:22:08 CEST 2012


Le dimanche 16 septembre 2012 00:32:11, Edward Wang a écrit :
> On 12-09-15 02:42 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> > Threading does not currently work with some codec profiles and is thus
> > not suited as default. Threading is also known to deadlock in certain
> > circumstances, such as if no data is ever received (a rather common
> > scenario with network or DVB reception).
> > 
> > Fixed avcodec version should be checked before this is re-enabled.
> 
> But this would slow down decoding for those users where multi-threading
> is working perfectly, no?

There is nobody for whom it would be working perfectly.
As far as I can tell, bugs affects all supported video codecs.

Unsafe options have to be off by default. It's as simple as that. If you have 
an alternative solution that does not crash VLC on network and DVB streams, 
and does not cause a black stream on valid video, I'm all ears.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list