summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeeshan.ali@nokia.com <zeeshan.ali@nokia.com>2007-03-14 10:18:54 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:48:50 +0100
commit207a222c0cb86a21587236689268b23282eeeb0f (patch)
treee52ed35cefb065d77822e470be0c794b1a942b93
parent40a5730713a20e111148651e3a03f11d331d3c17 (diff)
[MOVED FROM GST-P-FARSIGHT] No need to manage pads, parent does that for us
-rw-r--r--gst/rtpmux/gstrtpmux.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c
index 4c02bb420..fc1ed9986 100644
--- a/gst/rtpmux/gstrtpmux.c
+++ b/gst/rtpmux/gstrtpmux.c
@@ -66,7 +66,6 @@ struct _GstRTPMux
GstPad *srcpad;
/* sinkpads */
- GSList *sinkpads;
gint numpads;
guint16 seqnum_base;
@@ -220,12 +219,6 @@ gst_rtp_mux_finalize (GObject * object)
rtp_mux = GST_RTP_MUX (object);
- if (rtp_mux->sinkpads) {
- g_slist_foreach (rtp_mux->sinkpads, (GFunc) gst_object_unref, NULL);
- g_slist_free (rtp_mux->sinkpads);
- rtp_mux->sinkpads = NULL;
- }
-
G_OBJECT_CLASS (parent_class)->finalize (object);
}
@@ -256,7 +249,6 @@ gst_rtp_mux_request_new_pad (GstElement * element,
newpad = gst_pad_new_from_template (templ, name);
g_free (name);
- rtp_mux->sinkpads = g_slist_append (rtp_mux->sinkpads, (gpointer) newpad);
rtp_mux->numpads++;
} else {
g_warning ("rtp_mux: this is not our template!\n");