On 5/21/2018 4:16 PM, James Zern wrote: > On Sat, May 19, 2018 at 11:16 AM James Almer <jamr...@gmail.com> wrote: > >> 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. > >> Signed-off-by: James Almer <jamr...@gmail.com> >> --- >> libavcodec/libvpxenc.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > > lgtm, thanks.
Pushed. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel