ghostpad: remove deprecated API

_internal_link_function() is deprecated and _iterate_internal_links_function()
is already provided.
This commit is contained in:
Stefan Kost 2009-04-22 10:53:37 +03:00
parent 5ce13775b8
commit b71014259a

View file

@ -144,20 +144,6 @@ gst_proxy_pad_do_query (GstPad * pad, GstQuery * query)
return res; return res;
} }
static GList *
gst_proxy_pad_do_internal_link (GstPad * pad)
{
GList *res = NULL;
GstPad *target = gst_proxy_pad_get_target (pad);
if (target) {
res = gst_pad_get_internal_links (target);
gst_object_unref (target);
}
return res;
}
static GstIterator * static GstIterator *
gst_proxy_pad_do_iterate_internal_links (GstPad * pad) gst_proxy_pad_do_iterate_internal_links (GstPad * pad)
{ {
@ -434,8 +420,6 @@ gst_proxy_pad_init (GstProxyPad * ppad)
GST_DEBUG_FUNCPTR (gst_proxy_pad_do_query_type)); GST_DEBUG_FUNCPTR (gst_proxy_pad_do_query_type));
gst_pad_set_event_function (pad, GST_DEBUG_FUNCPTR (gst_proxy_pad_do_event)); gst_pad_set_event_function (pad, GST_DEBUG_FUNCPTR (gst_proxy_pad_do_event));
gst_pad_set_query_function (pad, GST_DEBUG_FUNCPTR (gst_proxy_pad_do_query)); gst_pad_set_query_function (pad, GST_DEBUG_FUNCPTR (gst_proxy_pad_do_query));
gst_pad_set_internal_link_function (pad,
GST_DEBUG_FUNCPTR (gst_proxy_pad_do_internal_link));
gst_pad_set_iterate_internal_links_function (pad, gst_pad_set_iterate_internal_links_function (pad,
GST_DEBUG_FUNCPTR (gst_proxy_pad_do_iterate_internal_links)); GST_DEBUG_FUNCPTR (gst_proxy_pad_do_iterate_internal_links));