summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Vrac <avrac@freebox.fr>2015-09-18 19:07:47 +0200
committerJan Schmidt <jan@centricular.com>2015-09-27 00:21:01 +1000
commit213709761767ac6a6fa2b845ad27b046d7b937e4 (patch)
tree67b7129dd9ddbb754a9ed12687d63dc410afd182
parentf0c4e51d9d573ab5e52d231e613434cb5e1a8ffa (diff)
downloadgstreamer-plugins-bad-213709761767ac6a6fa2b845ad27b046d7b937e4.tar.gz
dvdspu: fix pgs palette colors
U and V were inverted https://bugzilla.gnome.org/show_bug.cgi?id=755239
-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 e485817ea..fc59716ed 100644
--- a/gst/dvdspu/gstspu-pgs.c
+++ b/gst/dvdspu/gstspu-pgs.c
@@ -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