rtpssrcdemux: Forward serialized events to all pads
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 23 Nov 2018 19:01:35 +0000 (14:01 -0500)
committerSebastian Dröge <slomo@coaxion.net>
Sat, 24 Nov 2018 13:01:25 +0000 (13:01 +0000)
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.

gst/rtpmanager/gstrtpssrcdemux.c

index c4a3c43..dfccbef 100644 (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;
 }