From: Philipp Zabel Date: Tue, 5 Mar 2019 19:53:47 +0000 (+0100) Subject: v4l2object: use opRGB colorspace and xfer func defines X-Git-Tag: 1.19.3~509^2~1082 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40db843efd951f92576d32423770e7847bd4b26a;p=platform%2Fupstream%2Fgstreamer.git v4l2object: use opRGB colorspace and xfer func defines AdobeRGB defines have been renamed to opRGB in the kernel headers, use the new names. --- diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index c058132..01c5abf 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -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: