tools/gst-inspect.c: Also give media-type for typefinders in element output.

Original commit message from CVS:
* tools/gst-inspect.c: (print_plugin_features):
Also give media-type for typefinders in element output.
This commit is contained in:
Stefan Kost 2007-07-23 13:03:43 +00:00
parent a6b990938e
commit ab00ed8989
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2007-07-23 Stefan Kost <ensonic@users.sf.net>
* tools/gst-inspect.c: (print_plugin_features):
Also give media-type for typefinders in element output.
2007-07-23 Stefan Kost <ensonic@users.sf.net>
* gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),

View file

@ -989,14 +989,16 @@ print_plugin_features (GstPlugin * plugin)
if (factory->extensions) {
guint i = 0;
g_print ("%s type: ", plugin->desc.name);
g_print ("%s: %s: ", plugin->desc.name,
gst_plugin_feature_get_name (feature));
while (factory->extensions[i]) {
g_print ("%s%s", i > 0 ? ", " : "", factory->extensions[i]);
i++;
}
g_print ("\n");
} else
g_print ("%s type: N/A\n", plugin->desc.name);
g_print ("%s: %s: no extensions\n", plugin->desc.name,
gst_plugin_feature_get_name (feature));
num_types++;
} else {