mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-06 03:41:23 +00:00
tools/gst-inspect.c: Fix interface output with the -a option and don't print newlines after double/float properties.
Original commit message from CVS: * 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.
This commit is contained in:
parent
58d95bb42a
commit
9ef03a8c03
3 changed files with 13 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* 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 <thomas at apestaart dot org>
|
2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* po/LINGUAS:
|
* po/LINGUAS:
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 7caeee4b949b4388927fec7fcf25f767429bde30
|
Subproject commit 1cb5d7b76a01c711674c752015089e70c394fa99
|
|
@ -237,13 +237,13 @@ print_interfaces (GType type)
|
||||||
|
|
||||||
if (ifaces) {
|
if (ifaces) {
|
||||||
if (n_ifaces) {
|
if (n_ifaces) {
|
||||||
g_print ("Implemented Interfaces:\n");
|
g_print ("%sImplemented Interfaces:\n", (_name) ? _name : "");
|
||||||
iface = ifaces;
|
iface = ifaces;
|
||||||
while (*iface) {
|
while (*iface) {
|
||||||
g_print (" %s\n", g_type_name (*iface));
|
g_print ("%s %s\n", (_name) ? _name : "", g_type_name (*iface));
|
||||||
iface++;
|
iface++;
|
||||||
}
|
}
|
||||||
g_print ("\n");
|
g_print ("%s\n", (_name) ? _name : "");
|
||||||
g_free (ifaces);
|
g_free (ifaces);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -380,7 +380,7 @@ print_element_properties_info (GstElement * element)
|
||||||
g_print ("Range: %15.7g - %15.7g Default: %15.7g ",
|
g_print ("Range: %15.7g - %15.7g Default: %15.7g ",
|
||||||
pfloat->minimum, pfloat->maximum, pfloat->default_value);
|
pfloat->minimum, pfloat->maximum, pfloat->default_value);
|
||||||
if (readable)
|
if (readable)
|
||||||
g_print ("Current: %15.7g\n", g_value_get_float (&value));
|
g_print ("Current: %15.7g", g_value_get_float (&value));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case G_TYPE_DOUBLE:
|
case G_TYPE_DOUBLE:
|
||||||
|
@ -391,7 +391,7 @@ print_element_properties_info (GstElement * element)
|
||||||
g_print ("Range: %15.7g - %15.7g Default: %15.7g ",
|
g_print ("Range: %15.7g - %15.7g Default: %15.7g ",
|
||||||
pdouble->minimum, pdouble->maximum, pdouble->default_value);
|
pdouble->minimum, pdouble->maximum, pdouble->default_value);
|
||||||
if (readable)
|
if (readable)
|
||||||
g_print ("Current: %15.7g\n", g_value_get_double (&value));
|
g_print ("Current: %15.7g", g_value_get_double (&value));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue