mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
bugfi^H^Hworkaround: only send eos to unconnected elements - fixes new mikmod
Original commit message from CVS: bugfi^H^Hworkaround: only send eos to unconnected elements - fixes new mikmod
This commit is contained in:
parent
63bba6f096
commit
38a25af608
1 changed files with 6 additions and 2 deletions
|
@ -178,8 +178,12 @@ gst_spider_identity_chain (GstPad *pad, GstBuffer *buf)
|
||||||
{
|
{
|
||||||
GstSpiderConnection *conn = (GstSpiderConnection *) list->data;
|
GstSpiderConnection *conn = (GstSpiderConnection *) list->data;
|
||||||
list = g_list_next (list);
|
list = g_list_next (list);
|
||||||
gst_element_set_eos (GST_ELEMENT (conn->src));
|
if (conn->current != (GstElement *) conn->src) {
|
||||||
gst_pad_push (conn->src->src, GST_BUFFER (gst_event_new (GST_EVENT_EOS)));
|
GST_DEBUG (GST_CAT_AUTOPLUG, "sending EOS to unconnected element %s from %s",
|
||||||
|
GST_ELEMENT_NAME (conn->src), GST_ELEMENT_NAME (ident));
|
||||||
|
gst_element_set_eos (GST_ELEMENT (conn->src));
|
||||||
|
gst_pad_push (conn->src->src, GST_BUFFER (gst_event_new (GST_EVENT_EOS)));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* end hack for current event stuff here */
|
/* end hack for current event stuff here */
|
||||||
|
|
Loading…
Reference in a new issue