[MOVED FROM GST-P-FARSIGHT] send event to all src pads
authorZeeshan Ali <first.last@nokia.com>
Mon, 28 May 2007 15:25:05 +0000 (15:25 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 21 Feb 2009 16:48:53 +0000 (17:48 +0100)
20070528152505-f3f1e-039216c73dc93f64c49962c77a0253cb9cfec4d3.gz

gst/rtpmux/gstrtpmux.c

index cf3f36ca1f1e6067c158091cd8fcb71014f47891..d5fec6e8bca38e3d3eccfa6e8c8273cde186365e 100644 (file)
@@ -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);