tools: Use iterate_internal_links instead of deprecated get_internal_links
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 18 Aug 2009 12:45:23 +0000 (14:45 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 18 Aug 2009 12:57:25 +0000 (14:57 +0200)
tools/gst-inspect.c
tools/gst-xmlinspect.c

index a286ce8..7604e47 100644 (file)
@@ -804,9 +804,9 @@ print_pad_info (GstElement * element)
       print_query_types (gst_pad_get_query_types (pad));
     }
 
-    if (pad->intlinkfunc != gst_pad_get_internal_links_default)
-      n_print ("      Has custom intconnfunc(): %s\n",
-          GST_DEBUG_FUNCPTR_NAME (pad->intlinkfunc));
+    if (pad->iterintlinkfunc != gst_pad_iterate_internal_links_default)
+      n_print ("      Has custom iterintlinkfunc(): %s\n",
+          GST_DEBUG_FUNCPTR_NAME (pad->iterintlinkfunc));
 
     if (pad->bufferallocfunc)
       n_print ("      Has bufferallocfunc(): %s\n",
index 6ee6e31..c683557 100644 (file)
@@ -583,9 +583,9 @@ print_element_info (GstElementFactory * factory)
         PUT_END_TAG (4, "query-type-func");
       }
 
-      if (pad->intlinkfunc != gst_pad_get_internal_links_default)
-        PUT_STRING (4, "<intlink-function function=\"%s\"/>",
-            GST_DEBUG_FUNCPTR_NAME (pad->intlinkfunc));
+      if (pad->iterintlinkfunc != gst_pad_iterate_internal_links_default)
+        PUT_STRING (4, "<iterintlink-function function=\"%s\"/>",
+            GST_DEBUG_FUNCPTR_NAME (pad->iterintlinkfunc));
 
       if (pad->bufferallocfunc)
         PUT_STRING (4, "<bufferalloc-function function=\"%s\"/>",