mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
tools/gst-inspect.c: Use the realpad when printing the direction.
Original commit message from CVS: * 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.
This commit is contained in:
parent
956e80719a
commit
47bf817960
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
|
|
@ -643,12 +643,12 @@ print_pad_info (GstElement * element)
|
|||
|
||||
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));
|
||||
|
@ -1000,6 +1000,7 @@ print_plugin_features (GstPlugin * plugin)
|
|||
g_print ("%s%s", i > 0 ? ", " : "", factory->extensions[i]);
|
||||
i++;
|
||||
}
|
||||
g_print ("\n");
|
||||
} else
|
||||
g_print ("%s type: N/A\n", plugin->desc.name);
|
||||
|
||||
|
|
Loading…
Reference in a new issue