diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index 01eafd4689..fd8e67ca0e 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 b8e4b7e287..0efdc81d37 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))