From d3811ca5cdd3015cdc7329054c99b505316c04f2 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Date: Sat, 10 Nov 2018 23:35:18 +0100 Subject: [PATCH] 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. --- tools/gst-inspect.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 372f91a245..e052dca44a 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -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++;