mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
gst-inspect: Remove redundant plugin name from output
When printing info about a specific plugin, there is no need to prefix some of the details with plugin's name. It's not only redundant but also inconsistent and makes the task of adding consistent coloring to the output (which we'll do in a follow patch), harder.
This commit is contained in:
parent
a3abe8b9ae
commit
d3811ca5cd
1 changed files with 2 additions and 3 deletions
|
@ -1290,15 +1290,14 @@ print_plugin_features (GstPlugin * plugin)
|
||||||
if (extensions) {
|
if (extensions) {
|
||||||
guint i = 0;
|
guint i = 0;
|
||||||
|
|
||||||
g_print (" %s: %s: ", gst_plugin_get_name (plugin),
|
g_print (" %s: ", gst_plugin_feature_get_name (feature));
|
||||||
gst_plugin_feature_get_name (feature));
|
|
||||||
while (extensions[i]) {
|
while (extensions[i]) {
|
||||||
g_print ("%s%s", i > 0 ? ", " : "", extensions[i]);
|
g_print ("%s%s", i > 0 ? ", " : "", extensions[i]);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
g_print ("\n");
|
g_print ("\n");
|
||||||
} else
|
} else
|
||||||
g_print (" %s: %s: no extensions\n", gst_plugin_get_name (plugin),
|
g_print (" %s: no extensions\n",
|
||||||
gst_plugin_feature_get_name (feature));
|
gst_plugin_feature_get_name (feature));
|
||||||
|
|
||||||
num_typefinders++;
|
num_typefinders++;
|
||||||
|
|
Loading…
Reference in a new issue