v4l2src: handle resolution change when buffers are copied
authorMichael Olbrich <m.olbrich@pengutronix.de>
Thu, 6 Jul 2023 12:27:42 +0000 (14:27 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 6 Jul 2023 18:41:27 +0000 (19:41 +0100)
commit841902889b6a1146437220995d68a485eb773c6b
tree67a6c7badcd421b75709644d6148871ed2f8291b
parentcdff561a7670cd51f829ca67de7a0d480d4e8af6
v4l2src: handle resolution change when buffers are copied

When buffers are copied then GST_V4L2_FLOW_RESOLUTION_CHANGE is returned by
gst_v4l2_buffer_pool_process() so do renegotiation here as well.

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