diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2018-11-23 14:01:35 -0500 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-05-06 23:43:08 +0200 |
commit | 21db4992967589eb01d838fd52f8f696d167ad12 (patch) | |
tree | 838d0128c4f2d0cb06810be06d5545a2b522d7f4 | |
parent | 5f46d2618978e428a472f44b40892a48d5c76355 (diff) | |
download | gstreamer-plugins-good-21db4992967589eb01d838fd52f8f696d167ad12.tar.gz |
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.
-rw-r--r-- | gst/rtpmanager/gstrtpssrcdemux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtpmanager/gstrtpssrcdemux.c b/gst/rtpmanager/gstrtpssrcdemux.c index c4a3c4301..dfccbefdc 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; } |