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
This commit is contained in:
Thomas Vander Stichele 2002-06-01 10:24:38 +00:00
parent e89f26944a
commit 21201fe9b1

View file

@ -213,8 +213,10 @@ print_element_properties (GstElement *element)
case G_TYPE_DOUBLE: case G_TYPE_DOUBLE:
{ {
GParamSpecDouble *pdouble = G_PARAM_SPEC_DOUBLE (param); GParamSpecDouble *pdouble = G_PARAM_SPEC_DOUBLE (param);
printf("%-23.23s Double. Range: %f - %f (Default %f)", "", printf("%-23.23s Double. Default: %15.7e\n", "",
pdouble->minimum, pdouble->maximum, g_value_get_double (&value)); g_value_get_double (&value));
printf("%-23.23s Range: %15.7e - %15.7e", "",
pdouble->minimum, pdouble->maximum);
break; break;
} }
default: default: