v4l2: object: Not consider GRAY as RGB
This is to fix colorimetry mismatch between v4l2object and video-info when format is GRAY. Fixes #4270 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8590>
This commit is contained in:
parent
dba3bdd0cf
commit
ba6c86fc4d
@ -1436,8 +1436,6 @@ gst_v4l2_object_v4l2fourcc_is_rgb (guint32 fourcc)
|
||||
if (finfo) {
|
||||
if (GST_VIDEO_FORMAT_INFO_IS_RGB (finfo))
|
||||
return TRUE;
|
||||
if (GST_VIDEO_FORMAT_INFO_IS_GRAY (finfo))
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if ((desc->flags & GST_V4L2_BAYER) == GST_V4L2_BAYER)
|
||||
|
Loading…
x
Reference in New Issue
Block a user