[MOVED FROM GST-P-FARSIGHT] send event to all src pads

20070528152505-f3f1e-039216c73dc93f64c49962c77a0253cb9cfec4d3.gz
This commit is contained in:
Zeeshan Ali 2007-05-28 15:25:05 +00:00 committed by Edward Hervey
parent 1cbe838100
commit 7d12ea7ba8

View file

@ -199,10 +199,8 @@ static gboolean gst_rtp_mux_src_event (GstPad * pad,
switch (gst_iterator_next (iter, (gpointer) &sinkpad)) { switch (gst_iterator_next (iter, (gpointer) &sinkpad)) {
case GST_ITERATOR_OK: case GST_ITERATOR_OK:
gst_event_ref (event); gst_event_ref (event);
result = gst_pad_push_event (sinkpad, event); result |= gst_pad_push_event (sinkpad, event);
gst_object_unref (sinkpad); gst_object_unref (sinkpad);
if (result)
done = TRUE;
break; break;
case GST_ITERATOR_RESYNC: case GST_ITERATOR_RESYNC:
gst_iterator_resync (iter); gst_iterator_resync (iter);