mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
e89f26944a
commit
21201fe9b1
1 changed files with 4 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue