mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-02 14:36:41 +00:00
tools: Use iterate_internal_links instead of deprecated get_internal_links
This commit is contained in:
parent
269d3581c5
commit
1e39f6ea0e
2 changed files with 6 additions and 6 deletions
|
@ -804,9 +804,9 @@ print_pad_info (GstElement * element)
|
||||||
print_query_types (gst_pad_get_query_types (pad));
|
print_query_types (gst_pad_get_query_types (pad));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pad->intlinkfunc != gst_pad_get_internal_links_default)
|
if (pad->iterintlinkfunc != gst_pad_iterate_internal_links_default)
|
||||||
n_print (" Has custom intconnfunc(): %s\n",
|
n_print (" Has custom iterintlinkfunc(): %s\n",
|
||||||
GST_DEBUG_FUNCPTR_NAME (pad->intlinkfunc));
|
GST_DEBUG_FUNCPTR_NAME (pad->iterintlinkfunc));
|
||||||
|
|
||||||
if (pad->bufferallocfunc)
|
if (pad->bufferallocfunc)
|
||||||
n_print (" Has bufferallocfunc(): %s\n",
|
n_print (" Has bufferallocfunc(): %s\n",
|
||||||
|
|
|
@ -583,9 +583,9 @@ print_element_info (GstElementFactory * factory)
|
||||||
PUT_END_TAG (4, "query-type-func");
|
PUT_END_TAG (4, "query-type-func");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pad->intlinkfunc != gst_pad_get_internal_links_default)
|
if (pad->iterintlinkfunc != gst_pad_iterate_internal_links_default)
|
||||||
PUT_STRING (4, "<intlink-function function=\"%s\"/>",
|
PUT_STRING (4, "<iterintlink-function function=\"%s\"/>",
|
||||||
GST_DEBUG_FUNCPTR_NAME (pad->intlinkfunc));
|
GST_DEBUG_FUNCPTR_NAME (pad->iterintlinkfunc));
|
||||||
|
|
||||||
if (pad->bufferallocfunc)
|
if (pad->bufferallocfunc)
|
||||||
PUT_STRING (4, "<bufferalloc-function function=\"%s\"/>",
|
PUT_STRING (4, "<bufferalloc-function function=\"%s\"/>",
|
||||||
|
|
Loading…
Reference in a new issue