From 21201fe9b1ed5e684a80257dc1ea17f62ac9ec6f Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sat, 1 Jun 2002 10:24:38 +0000 Subject: [PATCH] This looks a lot better when printing out ranges for doubles which are set at max. Tell me if I can change the other... Original commit message from CVS: This looks a lot better when printing out ranges for doubles which are set at max. Tell me if I can change the other arguments to be printed like this too and I will change them --- tools/gst-inspect.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 7567fd7b6c..42338a6ce8 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -213,8 +213,10 @@ print_element_properties (GstElement *element) case G_TYPE_DOUBLE: { GParamSpecDouble *pdouble = G_PARAM_SPEC_DOUBLE (param); - printf("%-23.23s Double. Range: %f - %f (Default %f)", "", - pdouble->minimum, pdouble->maximum, g_value_get_double (&value)); + printf("%-23.23s Double. Default: %15.7e\n", "", + g_value_get_double (&value)); + printf("%-23.23s Range: %15.7e - %15.7e", "", + pdouble->minimum, pdouble->maximum); break; } default: