mirror of https://github.com/FFmpeg/FFmpeg.git
The libvpx doxy says that a value of 0 for the g_threads field is equivalent to a value of 1, whereas for avctx->thread_count it means the maximum amount of threads possible for the host system. Use av_cpu_count() to get the correct thread count when auto threads is requested. Reviewed-by: James Zern <jzern@google.com> Signed-off-by: James Almer <jamrial@gmail.com>pull/329/head
parent
ba7d1377e8
commit
27df34bf1f
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue