Print out the request pad function.
authorWim Taymans <wim.taymans@gmail.com>
Wed, 11 Jul 2001 15:50:16 +0000 (15:50 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 11 Jul 2001 15:50:16 +0000 (15:50 +0000)
Original commit message from CVS:
Print out the request pad function.

tools/gstreamer-inspect.c

index 6dd5b32..ddf7266 100644 (file)
@@ -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");