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

James Zern jzern at google.com
Tue Oct 30 08:12:50 EET 2018


On Mon, Oct 29, 2018 at 10:58 PM James Zern <jzern at google.com> wrote:
>
> On Sat, Oct 27, 2018 at 1:54 PM James Almer <jamrial at gmail.com> 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/libvpxenc: fix setting amount of threads used for encoding
> > >
> > > Signed-off-by: James Zern <jzern at google.com>
> > > ---
> > >  libavcodec/libvpxdec.c | 3 +--
> > >  1 file changed, 1 insertion(+), 2 deletions(-)
> > >

Applied with the limit of 16 restored. Thanks for the review.


More information about the ffmpeg-devel mailing list