mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
v4l2object: use opRGB colorspace and xfer func defines
AdobeRGB defines have been renamed to opRGB in the kernel headers, use the new names.
This commit is contained in:
parent
e2ff87732d
commit
40db843efd
1 changed files with 2 additions and 2 deletions
|
@ -1991,7 +1991,7 @@ gst_v4l2_object_get_colorspace (struct v4l2_format *fmt,
|
|||
cinfo->transfer = GST_VIDEO_TRANSFER_SRGB;
|
||||
cinfo->primaries = GST_VIDEO_COLOR_PRIMARIES_BT709;
|
||||
break;
|
||||
case V4L2_COLORSPACE_ADOBERGB:
|
||||
case V4L2_COLORSPACE_OPRGB:
|
||||
cinfo->range = GST_VIDEO_COLOR_RANGE_16_235;
|
||||
cinfo->matrix = GST_VIDEO_COLOR_MATRIX_BT601;
|
||||
cinfo->transfer = GST_VIDEO_TRANSFER_ADOBERGB;
|
||||
|
@ -2110,7 +2110,7 @@ gst_v4l2_object_get_colorspace (struct v4l2_format *fmt,
|
|||
case V4L2_XFER_FUNC_SRGB:
|
||||
cinfo->transfer = GST_VIDEO_TRANSFER_SRGB;
|
||||
break;
|
||||
case V4L2_XFER_FUNC_ADOBERGB:
|
||||
case V4L2_XFER_FUNC_OPRGB:
|
||||
cinfo->transfer = GST_VIDEO_TRANSFER_ADOBERGB;
|
||||
break;
|
||||
case V4L2_XFER_FUNC_SMPTE240M:
|
||||
|
|
Loading…
Reference in a new issue