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:
dd3e9de
)
dvdspu: allow suffix in dvd event name to allow multiple sticky dvd events
author
Arnaud Vrac
<avrac@freebox.fr>
Thu, 5 Dec 2013 20:59:18 +0000
(21:59 +0100)
committer
Jan Schmidt
<jan@centricular.com>
Sat, 26 Sep 2015 13:18:32 +0000
(23:18 +1000)
https://bugzilla.gnome.org/show_bug.cgi?id=663750
gst/dvdspu/gstdvdspu.c
patch
|
blob
|
history
diff --git
a/gst/dvdspu/gstdvdspu.c
b/gst/dvdspu/gstdvdspu.c
index
4fe1ac1
..
2bf5a91
100644
(file)
--- a/
gst/dvdspu/gstdvdspu.c
+++ b/
gst/dvdspu/gstdvdspu.c
@@
-1242,9
+1242,10
@@
gst_dvd_spu_subpic_event (GstPad * pad, GstObject * parent, GstEvent * event)
case GST_EVENT_CUSTOM_DOWNSTREAM_OOB:
{
const GstStructure *structure = gst_event_get_structure (event);
+ const gchar *name = gst_structure_get_name (structure);
gboolean need_push;
- if (!g
st_structure_has_name (structur
e, "application/x-gst-dvd")) {
+ if (!g
_str_has_prefix (nam
e, "application/x-gst-dvd")) {
res = gst_pad_event_default (pad, parent, event);
break;
}