[libav-api] libvpx threads bug/fix
janne-libav at jannau.net
Tue Jan 10 17:38:26 CET 2012
On 2012-01-10 13:00:08 +0000, Evgeny Yakimov wrote:
> I apologise in advance if this is not the correct way to submit
preferred way would be git diff or git format-patch formatted patches
but it's not that important for such simple bugs.
> I encountered a bug with libvpx in that, although the threads parameter is
> forwarded using:
> enccfg.g_threads = avctx->thread_count;
> and multithreading is supported by libvpx, the threading capability flag is
> not set and as a result thread_count=1 is always set during "
> I've added the CODEC_CAP_AUTO_THREADS to the capabilities list and it
> appears to be working now:
Yes, that is all needed. Thanks for noticing. The same commit broke
thread count for otherexternel codecs too. I'll fix them all.
More information about the libav-api