mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11: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:
|
||||
{
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue