tools: Use iterate_internal_links instead of deprecated get_internal_links

This commit is contained in:
Sebastian Dröge 2009-08-18 14:45:23 +02:00
parent 269d3581c5
commit 1e39f6ea0e
2 changed files with 6 additions and 6 deletions

View 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",

View 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\"/>",