diff options
author | Ian Jamison <ian.dev@arkver.com> | 2017-09-05 15:29:24 +0100 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2017-09-06 11:37:08 -0400 |
commit | 80e84f9ed8f9a516b3d240bd252ceb0fe32b0314 (patch) | |
tree | 4f29dc8cfe7d94a0f3db053e559a3ebb7f63850d | |
parent | 7fe68aee7dea667f9fa9df91315e4dc8c8e44284 (diff) | |
download | gstreamer-plugins-good-80e84f9ed8f9a516b3d240bd252ceb0fe32b0314.tar.gz |
v4l2object: Fix colorimetry transfer lookup for 4K video
https://bugzilla.gnome.org/show_bug.cgi?id=787160
-rw-r--r-- | sys/v4l2/gstv4l2object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index aae2c55e7..980ec90b2 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -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; else cinfo->transfer = GST_VIDEO_TRANSFER_BT709; |