projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5dd78e
)
dvdspu: Fix PGS window parsing
author
Jan Schmidt
<thaytan@noraisin.net>
Mon, 2 Nov 2009 01:48:18 +0000
(
02:48
+0100)
committer
Jan Schmidt
<thaytan@noraisin.net>
Mon, 2 Nov 2009 01:48:18 +0000
(
02:48
+0100)
Fix a problem introduced in the last PGS parsing patch by skipping
the window count byte after reading it.
gst/dvdspu/gstspu-pgs.c
patch
|
blob
|
history
diff --git
a/gst/dvdspu/gstspu-pgs.c
b/gst/dvdspu/gstspu-pgs.c
index 365e0c81a69ecd0ddb65da24154d609e34209b41..b860b290b94332021efbe7651f35a1b3585233d9 100644
(file)
--- a/
gst/dvdspu/gstspu-pgs.c
+++ b/
gst/dvdspu/gstspu-pgs.c
@@
-529,6
+529,7
@@
parse_set_window (GstDVDSpu * dvdspu, guint8 type, guint8 * payload,
dump_bytes (payload, len);
win_count = payload[0];
+ payload++;
for (i = 0; i < win_count; i++) {
if (payload + 9 > end)