mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +00:00
[MOVED FROM GST-P-FARSIGHT] remove the (commented-out) code for blocking the pads
20070316151641-65035-0123af387951f88594797c722e882cfe70240aff.gz
This commit is contained in:
parent
46b4fb228b
commit
e38c84f1b5
1 changed files with 0 additions and 27 deletions
|
@ -338,32 +338,6 @@ gst_rtp_mux_setcaps (GstPad *pad, GstCaps *caps)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
/*static void
|
||||
gst_rtp_mux_set_sinkpads_blocked (GstRTPMux *rtp_mux, gboolean blocked, GstPad *exception)
|
||||
{
|
||||
GstIterator *iter;
|
||||
GstPad *pad;
|
||||
|
||||
GST_DEBUG_OBJECT (rtp_mux, "blocking all sink pads except: %s",
|
||||
GST_ELEMENT_NAME (exception));
|
||||
|
||||
iter = gst_element_iterate_sink_pads (GST_ELEMENT (rtp_mux));
|
||||
while (gst_iterator_next (iter, (gpointer) &pad) == GST_ITERATOR_OK) {
|
||||
if (pad != exception) {
|
||||
GstPad *peer;
|
||||
|
||||
peer = gst_pad_get_peer (pad);
|
||||
|
||||
GST_DEBUG_OBJECT (rtp_mux, "blocking pad %s..", GST_ELEMENT_NAME (pad));
|
||||
gst_pad_set_blocked (peer, blocked);
|
||||
GST_DEBUG_OBJECT (rtp_mux, "pad %s blocked", GST_ELEMENT_NAME (pad));
|
||||
|
||||
gst_object_unref (GST_OBJECT (peer));
|
||||
}
|
||||
gst_object_unref (GST_OBJECT (pad));
|
||||
}
|
||||
}*/
|
||||
|
||||
static gboolean
|
||||
gst_rtp_mux_handle_sink_event (GstPad * pad, GstEvent * event)
|
||||
{
|
||||
|
@ -419,7 +393,6 @@ gst_rtp_mux_handle_sink_event (GstPad * pad, GstEvent * event)
|
|||
}
|
||||
|
||||
GST_OBJECT_UNLOCK (rtp_mux);
|
||||
/*gst_rtp_mux_set_sinkpads_blocked (rtp_mux, lock, pad);*/
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue