From d9f96e32015eecbfac9cd8696af6448e1f88df72 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 11 Jul 2001 15:50:16 +0000 Subject: [PATCH] Print out the request pad function. Original commit message from CVS: Print out the request pad function. --- tools/gstreamer-inspect.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/gstreamer-inspect.c b/tools/gstreamer-inspect.c index 6dd5b32..ddf7266 100644 --- a/tools/gstreamer-inspect.c +++ b/tools/gstreamer-inspect.c @@ -122,8 +122,11 @@ print_element_info (GstElementFactory *factory) printf(" Availability: Always\n"); else if (padtemplate->presence == GST_PAD_SOMETIMES) printf(" Availability: Sometimes\n"); - else if (padtemplate->presence == GST_PAD_REQUEST) + else if (padtemplate->presence == GST_PAD_REQUEST) { printf(" Availability: On request\n"); + printf(" Has request_new_pad() function: %s\n", + GST_DEBUG_FUNCPTR_NAME(gstelement_class->request_new_pad)); + } else printf(" Availability: UNKNOWN!!!\n"); -- 2.7.4