video-info: Don't assume colorimetry of UHD resolution as BT.2020
authorSeungha Yang <seungha@centricular.com>
Mon, 13 Dec 2021 07:19:44 +0000 (16:19 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 16 Dec 2021 12:22:27 +0000 (12:22 +0000)
commit11791f7ce5c9620913169e7cb44d37661895fdfa
tree4437040c57d6b9b25782bcf43adfaf2bb9e6868f
parentabd61732bf8076743e9cfb6a43ee89e378ce8fd7
video-info: Don't assume colorimetry of UHD resolution as BT.2020

BT.2020 color primaries are designed to cover much wider range of
CIE chromaticity than BT.709, and also it's used for both SDR and HDR
contents. So, the incorrect assumption (i.e., BT.709 as a BT.2020)
is risky and resulting image color tends to be visually very wrong.
Unless there's obvious clue, don't consider color space of high resolution
video stream as BT.2020

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1445>
subprojects/gst-plugins-base/gst-libs/gst/video/video-info.c