+2004-10-19 Wim Taymans <wim at fluendo dot com>
+
+ * tools/gst-inspect.c: (print_pad_info), (print_plugin_features):
+ Use the realpad when printing the direction.
+ Add extra \n when printing extensions of typefind factories.
+
2004-10-13 David Schleef <ds@schleef.org>
* examples/manual/Makefile.am: $< isn't portable in Makefile
n_print ("");
- if (gst_pad_get_direction (pad) == GST_PAD_SRC)
+ if (gst_pad_get_direction (GST_PAD (realpad)) == GST_PAD_SRC)
g_print (" SRC: '%s'", gst_pad_get_name (pad));
- else if (gst_pad_get_direction (pad) == GST_PAD_SINK)
+ else if (gst_pad_get_direction (GST_PAD (realpad)) == GST_PAD_SINK)
g_print (" SINK: '%s'", gst_pad_get_name (pad));
else
- g_print (" UNKNOWN!!!: '%s'\n", gst_pad_get_name (pad));
+ g_print (" UNKNOWN!!!: '%s'", gst_pad_get_name (pad));
if (GST_IS_GHOST_PAD (pad))
g_print (", ghost of real pad %s:%s\n", GST_DEBUG_PAD_NAME (realpad));
g_print ("%s%s", i > 0 ? ", " : "", factory->extensions[i]);
i++;
}
+ g_print ("\n");
} else
g_print ("%s type: N/A\n", plugin->desc.name);