v4l2videodec: copy colorimetry values to output_state caps
authorHou Qi <qi.hou@nxp.com>
Fri, 15 Apr 2022 01:53:19 +0000 (09:53 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 18 Apr 2022 13:17:55 +0000 (13:17 +0000)
commit8dcb8a28af8aff2308504d54ab9a715ad4f85289
tree76f6195694ecf889063fbd2d31aa59880549871a
parentcb8da91f7a588262d91371b78a22645cdf6ff1aa
v4l2videodec: copy colorimetry values to output_state caps

This is to avoid transcoding negotiation fail between v4l2h265dec
and v4l2h264enc caused by colorimetry mismatch.

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