mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
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.
This commit is contained in:
parent
8cc7c3f6aa
commit
ec6d2304bd
1 changed files with 0 additions and 30 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue