mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
gdppay: push the stream-start event
instead of just swallowing upstream's stream-start into its payload, push it as elements expect a stream-start before data
This commit is contained in:
parent
9682e44db6
commit
e909e6a071
1 changed files with 3 additions and 2 deletions
|
@ -714,8 +714,9 @@ gst_gdp_pay_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
}
|
||||
|
||||
/* if we have EOS, we should send on EOS ourselves */
|
||||
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) {
|
||||
GST_DEBUG_OBJECT (this, "Sending on EOS event %p", event);
|
||||
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS
|
||||
|| GST_EVENT_TYPE (event) == GST_EVENT_STREAM_START) {
|
||||
GST_DEBUG_OBJECT (this, "Sending on event %" GST_PTR_FORMAT, event);
|
||||
/* ref, we unref later again */
|
||||
ret = gst_pad_push_event (this->srcpad, gst_event_ref (event));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue