mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
dvdspu: allow suffix in dvd event name to allow multiple sticky dvd events
https://bugzilla.gnome.org/show_bug.cgi?id=663750
This commit is contained in:
parent
dd3e9deb2a
commit
a41e7c5bec
1 changed files with 2 additions and 1 deletions
|
@ -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 (!gst_structure_has_name (structure, "application/x-gst-dvd")) {
|
||||
if (!g_str_has_prefix (name, "application/x-gst-dvd")) {
|
||||
res = gst_pad_event_default (pad, parent, event);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue