mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
mpegtsdemux: Fix sticky event handling
When we receive sticky events from upstream, always return TRUE. Fixes the issue where we receive custom sticky events (such as "uri") and no pads are created yet.
This commit is contained in:
parent
be28578942
commit
a2890e831b
1 changed files with 4 additions and 0 deletions
|
@ -1095,6 +1095,10 @@ mpegts_base_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
res = GST_MPEGTS_BASE_GET_CLASS (base)->push_event (base, event);
|
||||
}
|
||||
|
||||
/* Always return TRUE for sticky events */
|
||||
if (GST_EVENT_IS_STICKY (event))
|
||||
res = TRUE;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue