From b9054de15c75fc61b8035d390aa116402800c190 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Wed, 12 Sep 2012 21:03:21 +0200 Subject: [PATCH] collectpads: remove gst_collect_pads_add_pad_full Rename gst_collect_pads_add_pad_full() to gst_collect_pads_add_pad() and fix all invocations. --- ext/ogg/gstoggmux.c | 2 +- gst/adder/gstadder.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index 01eafd4..fd8e67c 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -438,7 +438,7 @@ gst_ogg_mux_request_new_pad (GstElement * element, GstOggPadData *oggpad; oggpad = (GstOggPadData *) - gst_collect_pads_add_pad_full (ogg_mux->collect, newpad, + gst_collect_pads_add_pad (ogg_mux->collect, newpad, sizeof (GstOggPadData), gst_ogg_mux_ogg_pad_destroy_notify, FALSE); ogg_mux->active_pads++; diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index b8e4b7e..0efdc81 100644 --- a/gst/adder/gstadder.c +++ b/gst/adder/gstadder.c @@ -1025,7 +1025,8 @@ gst_adder_request_new_pad (GstElement * element, GstPadTemplate * templ, g_free (name); gst_pad_set_query_function (newpad, GST_DEBUG_FUNCPTR (gst_adder_sink_query)); - gst_collect_pads_add_pad (adder->collect, newpad, sizeof (GstCollectData)); + gst_collect_pads_add_pad (adder->collect, newpad, sizeof (GstCollectData), + NULL, TRUE); /* takes ownership of the pad */ if (!gst_element_add_pad (GST_ELEMENT (adder), newpad)) -- 2.7.4