Re: [FFmpeg-devel] [PATCH] avcodec/libvpxdec: fix setting auto threads

2018-10-29 Thread James Zern
On Mon, Oct 29, 2018 at 10:58 PM James Zern wrote: > > On Sat, Oct 27, 2018 at 1:54 PM James Almer wrote: > > > > On 10/27/2018 5:52 PM, James Zern wrote: > > > 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. >

Re: [FFmpeg-devel] [PATCH] avcodec/libvpxdec: fix setting auto threads

2018-10-29 Thread James Zern
On Sat, Oct 27, 2018 at 1:54 PM James Almer wrote: > > On 10/27/2018 5:52 PM, James Zern wrote: > > 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

Re: [FFmpeg-devel] [PATCH] avcodec/libvpxdec: fix setting auto threads

2018-10-27 Thread James Almer
On 10/27/2018 5:52 PM, James Zern wrote: > 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 > >

[FFmpeg-devel] [PATCH] avcodec/libvpxdec: fix setting auto threads

2018-10-27 Thread James Zern
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 Signed-off-by: James Zern --- libavcodec/libvpxdec.c