On 08.03.2015, at 18:08, Rainer Hochecker <fernetme...@online.de> wrote:
> Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
>> I sent an alternative patch "pthread: Fix ff_thread_get_format issues
>> when called outside frame decode."
> 
> right, I didn't see you patch not the other code path.
> 
>> However there are additional bugs like update_context calling this and thus
>> a single SPS change with n threads resulting in n get_format callbacks,
>> all except the first completely pointless (and potentially causing
>> issues with implementations that don't ensure that multiple get_format
>> are side-effect free).
>> As a result I am somewhat hesitant about my patch that would end up
>> hiding all these issues.
>> 
> 
> the issue with multiple get_format calls is already present for other codecs.

I don't think so, if they did multithreading should show the same issues with 
them.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to