mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
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:
parent
a6b990938e
commit
ab00ed8989
2 changed files with 9 additions and 2 deletions
|
@ -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>
|
2007-07-23 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
|
* gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
|
||||||
|
|
|
@ -989,14 +989,16 @@ print_plugin_features (GstPlugin * plugin)
|
||||||
if (factory->extensions) {
|
if (factory->extensions) {
|
||||||
guint i = 0;
|
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]) {
|
while (factory->extensions[i]) {
|
||||||
g_print ("%s%s", i > 0 ? ", " : "", factory->extensions[i]);
|
g_print ("%s%s", i > 0 ? ", " : "", factory->extensions[i]);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
g_print ("\n");
|
g_print ("\n");
|
||||||
} else
|
} 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++;
|
num_types++;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue