From ec6d2304bdffb016a19e6fd3e50877bca3a2adff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 26 Nov 2017 00:20:13 +0000 Subject: [PATCH] tools: gst-inspect: don't print element flags whch are always 'none' We print the interesting flags like clocking capabilities separately later, this function just always prints 'none', so remove it. --- tools/gst-inspect.c | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 3a87696..7592049 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -648,35 +648,6 @@ done: pop_indent (); } -/* FIXME: should remove this if there is nothing interesting to print here */ -static void -print_element_flag_info (GstElement * element) -{ - gboolean have_flags = FALSE; - - n_print ("\n"); - n_print ("Element Flags:\n"); - - push_indent (); - - if (!have_flags) - n_print ("no flags set\n"); - - pop_indent (); - - if (GST_IS_BIN (element)) { - n_print ("\n"); - n_print ("Bin Flags:\n"); - - push_indent (); - - if (!have_flags) - n_print (" no flags set\n"); - - pop_indent (); - } -} - static void print_clocking_info (GstElement * element) { @@ -1423,7 +1394,6 @@ print_element_info (GstPluginFeature * feature, gboolean print_names) print_interfaces (G_OBJECT_TYPE (element)); print_pad_templates_info (element, factory); - print_element_flag_info (element); print_clocking_info (element); print_uri_handler_info (element); print_pad_info (element); -- 2.7.4