v4l2videodec: Increase internal bitstream pool size
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 15 Apr 2020 16:36:29 +0000 (12:36 -0400)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Wed, 15 Apr 2020 20:19:48 +0000 (20:19 +0000)
commit8e3184a2137c3483c1aabaef39f78655421acd52
tree35489690d57a026e15c373f62c417ae78e65aa71
parentd75ea5b34021ab599ad825e4e9ef0550d5892fa8
v4l2videodec: Increase internal bitstream pool size

This patch will now set the maximum of buffers to 32, allowing to grow the
pool for drivers that supports that and will respect the minimum buffers
reported by the driver. This was made to fix a stall with the virtio CODEC
driver.

Fixes #672
sys/v4l2/gstv4l2videodec.c