[gst-cvs] gstreamer: ghostpad: remove deprecated API

Stefan Kost ensonic at kemper.freedesktop.org
Tue May 12 08:38:40 PDT 2009


Module: gstreamer
Branch: master
Commit: b71014259ae94825e239602ff4509ab0fdcacc68
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=b71014259ae94825e239602ff4509ab0fdcacc68

Author: Stefan Kost <ensonic at users.sf.net>
Date:   Wed Apr 22 10:53:37 2009 +0300

ghostpad: remove deprecated API

_internal_link_function() is deprecated and _iterate_internal_links_function()
is already provided.

---

 gst/gstghostpad.c |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/gst/gstghostpad.c b/gst/gstghostpad.c
index 0b76611..bcf71de 100644
--- a/gst/gstghostpad.c
+++ b/gst/gstghostpad.c
@@ -144,20 +144,6 @@ gst_proxy_pad_do_query (GstPad * pad, GstQuery * query)
   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 *
 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_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_internal_link_function (pad,
-      GST_DEBUG_FUNCPTR (gst_proxy_pad_do_internal_link));
   gst_pad_set_iterate_internal_links_function (pad,
       GST_DEBUG_FUNCPTR (gst_proxy_pad_do_iterate_internal_links));
 





More information about the Gstreamer-commits mailing list