mirror of https://github.com/FFmpeg/FFmpeg.git
a thread count of 0 is treated the same as 1, use av_cpu_count() to get
the correct thread count when auto threads is requested.
this matches the fix in libvpxenc:
27df34bf1f
avcodec/libvpxenc: fix setting amount of threads used for encoding
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: James Zern <jzern@google.com>
pull/299/head
parent
f3bcb9c16a
commit
32d021cfa6
1 changed files with 1 additions and 2 deletions
Loading…
Reference in new issue