summaryrefslogtreecommitdiffstats
path: root/gst/rtpmux/gstrtpmux.c
diff options
context:
space:
mode:
authorZeeshan Ali <first.last@nokia.com>2007-05-28 15:25:05 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:48:53 +0100
commit7d12ea7ba818cb619bc57ca3719fba88bb8ca4e0 (patch)
treed356bb0ab3b239b25b91edcccb4ff491dbf3b613 /gst/rtpmux/gstrtpmux.c
parent1cbe8381000dcf16d93f7b8d0bb87ad09291940e (diff)
downloadgst-plugins-bad-7d12ea7ba818cb619bc57ca3719fba88bb8ca4e0.tar.gz
gst-plugins-bad-7d12ea7ba818cb619bc57ca3719fba88bb8ca4e0.tar.bz2
gst-plugins-bad-7d12ea7ba818cb619bc57ca3719fba88bb8ca4e0.zip
[MOVED FROM GST-P-FARSIGHT] send event to all src pads
20070528152505-f3f1e-039216c73dc93f64c49962c77a0253cb9cfec4d3.gz
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);