[FFmpeg-devel] [PATCH] avcodec/libaom: fix setting amount of threads
Jan Ekström
jeebjp at gmail.com
Thu Sep 13 19:32:58 EEST 2018
On Thu, Sep 13, 2018 at 7:26 PM, James Almer <jamrial at gmail.com> wrote:
> The libaom doxy says that a value of 0 for the threads fields 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.
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
Same things as in our libvpx wrappers, LGTM.
Jan
More information about the ffmpeg-devel
mailing list