summaryrefslogtreecommitdiff
path: root/gst/dvdspu
diff options
context:
space:
mode:
authorArnaud Vrac <avrac@freebox.fr>2015-09-18 19:07:47 +0200
committerJan Schmidt <jan@centricular.com>2015-09-26 23:29:55 +1000
commit7a7f358e6d9ecd636d125fc37a5b0b27d3312bc0 (patch)
tree3a332b32e96724b2e463b0170f1617de026ff787 /gst/dvdspu
parent1899e2a099932a7a734e7784c20b624517237e18 (diff)
dvdspu: fix pgs palette colors
U and V were inverted https://bugzilla.gnome.org/show_bug.cgi?id=755239
Diffstat (limited to 'gst/dvdspu')
-rw-r--r--gst/dvdspu/gstspu-pgs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/dvdspu/gstspu-pgs.c b/gst/dvdspu/gstspu-pgs.c
index 6a54e461bf..bf76a11683 100644
--- a/gst/dvdspu/gstspu-pgs.c
+++ b/gst/dvdspu/gstspu-pgs.c
@@ -514,8 +514,8 @@ parse_set_palette (GstDVDSpu * dvdspu, guint8 type, guint8 * payload,
gint R, G, B;
n = payload[0];
Y = payload[1];
- U = payload[2];
- V = payload[3];
+ V = payload[2];
+ U = payload[3];
A = payload[4];
#if DUMP_FULL_PALETTE