v4l2object: append non colorimetry structure to probed caps
authorShengqi Yu <shengqi.yu@mediatek.com>
Mon, 29 Jul 2024 01:07:40 +0000 (09:07 +0800)
committerBackport Bot <gitlab-backport-bot@gstreamer-foundation.org>
Tue, 24 Sep 2024 19:17:17 +0000 (21:17 +0200)
commit7a37b27c67e4e547c69a5c08c36139a0485f005a
tree00e7bdd3dff8f3873a439fd8747f2cbf33a0f20d
parentc9d1a1d53c4eda6e75d3aa1d6398dc8d07506a80
v4l2object: append non colorimetry structure to probed caps

If the stream has a special colorimetry that is not in the colorimetry
list, it will cause negotiation to fail. We should allow passing any
colorimetry, so add an extra structure without the colorimetry field.

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