[Libav-user] multithreaded problems
chisholm at mitre.org
Wed Nov 9 21:14:19 CET 2011
Afaik, you should call av_lockmgr_register() to set a locking handler,
if you're calling ffmpeg APIs from multiple threads simultaneously.
On 11/9/2011 1:06 PM, Karoly Horvath wrote:
> Hi guys,
> I have multiple threads which do simultaneous demultiplexing for different
> Most of the times it works fine, but sometimes a see these messages at
> [NULL @ 0x7fffa4006120] insufficient thread locking around
> Also it sometimes fails to do avcodec_open (it's the same stream, nothing
> I have a global mutex for the threads so at any point only one thread can
> make those API calls.
> Any idea what the problem is?
> Libav-user mailing list
> Libav-user at ffmpeg.org
More information about the Libav-user