dav1d: limit the number of extra frames needed by the decoder
authorSteve Lhomme <robux4@ycbcr.xyz>
Mon, 21 Mar 2022 14:53:52 +0000 (15:53 +0100)
committerSebastian Ramacher <sramacher@debian.org>
Fri, 17 Jun 2022 17:37:03 +0000 (18:37 +0100)
commitbb4ff9f0ffd13fa050a50b3d966a465a12577482
treec2c71e497eeba844f04c9d419097c262a1c1f49d
parenta8a98fef9f52ad5362e7a66ef4b87f4ae658da19
dav1d: limit the number of extra frames needed by the decoder

The i_extra_picture_buffers is used to add pictures to the pool that the core
will allocate. dav1d is actually using n_threads frames. And the core is
allocating 10 frames per default for AV1. So we need to add the missing ones.

(cherry picked from commit a32031dc0f5f32083fc54a21397bce732742ccbe) (rebased)
rebased:
- the code dav1d 1.0.0 in 3.0 uses different max versions

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Gbp-Pq: Name 0004-dav1d-limit-the-number-of-extra-frames-needed-by-the.patch
modules/codec/dav1d.c