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:
Zeeshan Ali 2018-11-10 23:35:18 +01:00
parent a3abe8b9ae
commit d3811ca5cd

View file

@ -1290,15 +1290,14 @@ print_plugin_features (GstPlugin * plugin)
if (extensions) {
guint i = 0;
g_print (" %s: %s: ", gst_plugin_get_name (plugin),
gst_plugin_feature_get_name (feature));
g_print (" %s: ", gst_plugin_feature_get_name (feature));
while (extensions[i]) {
g_print ("%s%s", i > 0 ? ", " : "", extensions[i]);
i++;
}
g_print ("\n");
} 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));
num_typefinders++;