mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
v4l2object: Fix colorimetry transfer lookup for 4K video
https://bugzilla.gnome.org/show_bug.cgi?id=787160
This commit is contained in:
parent
05a5ab0e55
commit
fc5d9c34a7
1 changed files with 1 additions and 1 deletions
|
@ -2057,7 +2057,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;
|
||||
|
|
Loading…
Reference in a new issue