diff options
author | Zeeshan Ali <zeenix@collabora.co.uk> | 2018-11-10 23:35:18 +0100 |
---|---|---|
committer | Zeeshan Ali <zeenix@collabora.co.uk> | 2018-11-23 16:14:06 +0100 |
commit | d3811ca5cdd3015cdc7329054c99b505316c04f2 (patch) | |
tree | 5bb28aca6d2e7eb04b724381200ef983d4c48b2b /tools | |
parent | a3abe8b9aeb7ac54159bc780d7d0f26c17aa51d9 (diff) | |
download | gstreamer-d3811ca5cdd3015cdc7329054c99b505316c04f2.tar.gz |
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.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gst-inspect.c | 5 |
1 files 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++; |