From 21378d83c20e47e538e50bd12df97eadc883bd22 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Fri, 23 Nov 2018 14:01:35 -0500 Subject: [PATCH] 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. --- gst/rtpmanager/gstrtpssrcdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtpmanager/gstrtpssrcdemux.c b/gst/rtpmanager/gstrtpssrcdemux.c index c4a3c43012..dfccbefdc3 100644 --- a/gst/rtpmanager/gstrtpssrcdemux.c +++ b/gst/rtpmanager/gstrtpssrcdemux.c @@ -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; }