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>
Mon, 3 Oct 2022 20:07:16 +0000 (21:07 +0100)
commit33a3d9d36b11879cac2e8dbfeca993bdede7b58b
treeea86ce355ea1243fe6f269166697e1816493c613
parent48b6c9e3ceb0aa361ab3a7df2b73d4627005be1e
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