mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
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.
This commit is contained in:
parent
536276eee1
commit
b9054de15c
2 changed files with 3 additions and 2 deletions
|
@ -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++;
|
||||
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue