mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
funnel: Check if the last pad was set
If no data is coming but only EOS is sent from all of the sinkpad, it is not forwarding the EOS. https://bugzilla.gnome.org/show_bug.cgi?id=727945
This commit is contained in:
parent
c10663ba3e
commit
e3e1b0eac7
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ gst_funnel_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
if ((GST_EVENT_TYPE (event) == GST_EVENT_EOS) &&
|
||||
(!gst_funnel_all_sinkpads_eos_unlocked (funnel, pad))) {
|
||||
forward = FALSE;
|
||||
} else if (pad != funnel->last_sinkpad) {
|
||||
} else if (funnel->last_sinkpad && (pad != funnel->last_sinkpad)) {
|
||||
forward = FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue