commit | fc5d9c34a74ee6fc7f533f19e88831e306db698d | [log] [tgz] |
---|---|---|
author | Ian Jamison <ian.dev@arkver.com> | Tue Sep 05 15:29:24 2017 +0100 |
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | Wed Sep 06 11:33:53 2017 -0400 |
tree | 82ff7a695558f8cbf71f6a396d524f6c26a6f1be | |
parent | 05a5ab0e5571faefd2571f0d4c6903c4d9f709c8 [diff] |
v4l2object: Fix colorimetry transfer lookup for 4K video https://bugzilla.gnome.org/show_bug.cgi?id=787160
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index af62d6d..8da5831 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c
@@ -2057,7 +2057,7 @@ 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;