diff --git a/ChangeLog b/ChangeLog index 92a31e72be..b031430d77 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-10-20 Tim-Philipp Müller + + * tools/gst-inspect.c: (print_interfaces), + (print_element_properties_info): + Fix interface output with the -a option and don't print + newlines after double/float properties. + 2005-09-29 Thomas Vander Stichele * po/LINGUAS: diff --git a/common b/common index 7caeee4b94..1cb5d7b76a 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 7caeee4b949b4388927fec7fcf25f767429bde30 +Subproject commit 1cb5d7b76a01c711674c752015089e70c394fa99 diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index b755c3edf8..e033846dd1 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -237,13 +237,13 @@ print_interfaces (GType type) if (ifaces) { if (n_ifaces) { - g_print ("Implemented Interfaces:\n"); + g_print ("%sImplemented Interfaces:\n", (_name) ? _name : ""); iface = ifaces; while (*iface) { - g_print (" %s\n", g_type_name (*iface)); + g_print ("%s %s\n", (_name) ? _name : "", g_type_name (*iface)); iface++; } - g_print ("\n"); + g_print ("%s\n", (_name) ? _name : ""); g_free (ifaces); } } @@ -380,7 +380,7 @@ print_element_properties_info (GstElement * element) g_print ("Range: %15.7g - %15.7g Default: %15.7g ", pfloat->minimum, pfloat->maximum, pfloat->default_value); if (readable) - g_print ("Current: %15.7g\n", g_value_get_float (&value)); + g_print ("Current: %15.7g", g_value_get_float (&value)); break; } case G_TYPE_DOUBLE: @@ -391,7 +391,7 @@ print_element_properties_info (GstElement * element) g_print ("Range: %15.7g - %15.7g Default: %15.7g ", pdouble->minimum, pdouble->maximum, pdouble->default_value); if (readable) - g_print ("Current: %15.7g\n", g_value_get_double (&value)); + g_print ("Current: %15.7g", g_value_get_double (&value)); break; } default: