diff options
author | Sebastian Keller <sebastian-keller@gmx.de> | 2016-09-03 16:43:50 +0200 |
---|---|---|
committer | Lionel Landwerlin <llandwerlin@gmail.com> | 2016-09-03 19:53:44 +0100 |
commit | abc3743ca0741f6169c239c1ad8d14696f1abd61 (patch) | |
tree | 4c4593e7ce8250387030e8b593108d95a7dbaa9c | |
parent | 9af76b7e3f2201a0a5659a104c82cdf16a6dedc5 (diff) | |
download | clutter-gst-abc3743ca0741f6169c239c1ad8d14696f1abd61.tar.gz |
video-sink: Fix colors in UHD videos
The BT.2020 YUV to RGB conversion matrix was wrong.
https://bugzilla.gnome.org/show_bug.cgi?id=770799
-rw-r--r-- | clutter-gst/clutter-gst-video-sink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c index 942c700..7a5a0ba 100644 --- a/clutter-gst/clutter-gst-video-sink.c +++ b/clutter-gst/clutter-gst-video-sink.c @@ -916,8 +916,8 @@ _matrix_from_colorimetry (GstVideoColorMatrix matrix) 1.5748, -0.468124, 0.0 }; #if GST_CHECK_VERSION(1, 6, 0) static const float bt2020[] = { 1.0, 1.0, 1.0, - 0.0, 0.571353, 1.8814, - 1.4746, 0.164553, 0.0 }; + 0.0, -0.164553, 1.8814, + 1.4746, -0.571353, 0.0 }; #endif #if 0 /* Original transformation from the clutter-gst 2.0/1.6 days. |