dvdspu: fix pgs palette colors
authorArnaud Vrac <avrac@freebox.fr>
Fri, 18 Sep 2015 17:07:47 +0000 (19:07 +0200)
committerJan Schmidt <jan@centricular.com>
Sat, 26 Sep 2015 14:21:01 +0000 (00:21 +1000)
U and V were inverted

https://bugzilla.gnome.org/show_bug.cgi?id=755239

gst/dvdspu/gstspu-pgs.c

index e485817eaf8bcea1f8fbbf4d5f42fab39bad3d69..fc59716ed4ffe296be205d80a51a228161df5130 100644 (file)
@@ -484,8 +484,8 @@ parse_set_palette (GstDVDSpu * dvdspu, guint8 type, guint8 * payload,
     guint8 n, Y, U, V, A;
     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