diff options
author | zeeshan.ali@nokia.com <zeeshan.ali@nokia.com> | 2007-03-16 15:16:41 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-21 17:48:51 +0100 |
commit | e38c84f1b537ca91362052ce1713d1762d888d3f (patch) | |
tree | b50dceb1b544f886131aa078abca1033dc97759a /gst | |
parent | 46b4fb228b2bfcea35aeefe6644b0621d7aee822 (diff) | |
download | gst-plugins-bad-e38c84f1b537ca91362052ce1713d1762d888d3f.tar.gz gst-plugins-bad-e38c84f1b537ca91362052ce1713d1762d888d3f.tar.bz2 gst-plugins-bad-e38c84f1b537ca91362052ce1713d1762d888d3f.zip |
[MOVED FROM GST-P-FARSIGHT] remove the (commented-out) code for blocking the pads
20070316151641-65035-0123af387951f88594797c722e882cfe70240aff.gz
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtpmux/gstrtpmux.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c index cb5829d9..d354bfbf 100644 --- a/gst/rtpmux/gstrtpmux.c +++ b/gst/rtpmux/gstrtpmux.c @@ -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; |