summaryrefslogtreecommitdiffstats
path: root/gst/rtpmux/gstrtpmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtpmux/gstrtpmux.c')
-rw-r--r--gst/rtpmux/gstrtpmux.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c
index cf3f36ca..d5fec6e8 100644
--- a/gst/rtpmux/gstrtpmux.c
+++ b/gst/rtpmux/gstrtpmux.c
@@ -199,10 +199,8 @@ static gboolean gst_rtp_mux_src_event (GstPad * pad,
switch (gst_iterator_next (iter, (gpointer) &sinkpad)) {
case GST_ITERATOR_OK:
gst_event_ref (event);
- result = gst_pad_push_event (sinkpad, event);
+ result |= gst_pad_push_event (sinkpad, event);
gst_object_unref (sinkpad);
- if (result)
- done = TRUE;
break;
case GST_ITERATOR_RESYNC:
gst_iterator_resync (iter);