v4l2object: Need keep same transfer as input caps.
authorBing Song <bing.song@nxp.com>
Tue, 15 Dec 2020 02:41:40 +0000 (10:41 +0800)
committerKevin Song <kevinbing.song@gmail.com>
Mon, 18 Jan 2021 04:26:04 +0000 (04:26 +0000)
commitb87db31fbe070cd75166472f5f1dc489bb2e83a0
tree5f78c629e0c64aef2f01dbbbe334128dfd2ac50d
parent706d91371c7257db7f7906cd9fc6e6ea0a2dd3af
v4l2object: Need keep same transfer as input caps.

GST_VIDEO_TRANSFER_BT2020_12 and GST_VIDEO_TRANSFER_BT2020_10 will
be mapped to V4L2_XFER_FUNC_709. Need check input caps when map
V4L2_XFER_FUNC_709 back to GST_VIDEO_TRANSFER_BT2020_12 and
GST_VIDEO_TRANSFER_BT2020_10

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/816
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/841>
sys/v4l2/gstv4l2object.c
sys/v4l2/gstv4l2object.h