v4l2: bufferpool: Do not resize compressed buffer
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 5 Sep 2023 20:15:19 +0000 (16:15 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 12 Sep 2023 16:42:06 +0000 (17:42 +0100)
commit914e7520154029ddf37b845d4488bf4ddd0e183d
tree58d3dc83e3f2189724f1a9913bc13af8dcdb6ad6
parent2bd21a6f4063072468d6d8e9153d073efcfbc705
v4l2: bufferpool: Do not resize compressed buffer

Avoid resizing compressed buffer to their maximum size. This fixes a
regression that caused valid but very large streams to be generated.

Fixes #2953

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5319>
subprojects/gst-plugins-good/sys/v4l2/gstv4l2bufferpool.c