Commit 80e84f9e authored by Ian Jamison's avatar Ian Jamison Committed by Nicolas Dufresne

v4l2object: Fix colorimetry transfer lookup for 4K video
parent 7fe68aee
......@@ -2062,7 +2062,7 @@ gst_v4l2_object_get_colorspace (struct v4l2_format *fmt,
switch (transfer) {
case V4L2_XFER_FUNC_709:
if (fmt->fmt.pix.height > 2160)
if (fmt->fmt.pix.height >= 2160)
cinfo->transfer = GST_VIDEO_TRANSFER_BT2020_12;
cinfo->transfer = GST_VIDEO_TRANSFER_BT709;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment