Skip to content

v4l2: Fix colorimetry mismatch for encoded format with RGB color-matrix

Qi Hou requested to merge hq/gstreamer:matrix into main

video-info supports encoded format to have RGB color-matrix, while v4l2object just leave the v4l2 matrix to default when mapping GST_VIDEO_COLOR_MATRIX_RGB. It causes gst matrix changed to be GST_VIDEO_COLOR_MATRIX_BT601 when mapping v4l2 colorimetry.

So add support for encoded format with RGB color-matrix in v4l2object.

Merge request reports

Loading