Skip to content

v4l2object: fix ARIB_STD_B67 colorimetry unmatch issue

HuQian requested to merge HuQian/gstreamer:dev-colorimetyissue into main

bypass check the below GST_VIDEO_TRANSFER_ARIB_STD_B67 type because kernel do not support it. GST_VIDEO_TRANSFER_ARIB_STD_B67 is cast to GST_VIDEO_TRANSFER_BT2020_12 type in gst_v4l2_object_get_colorspace

i can not find ARIB_STD_B67 in kernel document

https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/colorspaces-defs.html#c.v4l2_xfer_func

for example, input caps for decoder: video/x-av1, stream-format=(string)obu-stream, alignment=(string)frame, codec_data=(buffer)81084c000a0e00000042abbfc377ffe742448241, width=(int)1920, height=(int)1080, framerate=(fraction)24/1, pixel-aspect-ratio=(fraction)1/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)10, bit-depth-chroma=(uint)10, colorimetry=(string)bt2100-hlg, parsed=(boolean)true, profile=(string)main

Edited by HuQian

Merge request reports