rtpssrcdemux: Forward serialized events to all pads

While forwarding serialized event, we use gst_pad_forward() function.
In the forward callback (GstPadForwardFunction) we always return
TRUE. Returning true there will stop the dispatching procedure. As a
side effect, only one events is receiving the events. This breaks
when sending EOS from the applicaiton, it also breaks the latency
tracer.
This commit is contained in:
Nicolas Dufresne 2018-11-23 14:01:35 -05:00 committed by Sebastian Dröge
parent 69ad6af83c
commit 21378d83c2

View file

@ -579,7 +579,7 @@ forward_event (GstPad * pad, gpointer user_data)
if (newevent)
fdata->res &= gst_pad_push_event (pad, newevent);
return TRUE;
return FALSE;
}