mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
frei0r: Allow the complete double range for double properties
The spec restricts it to [0,1] but some plugins are using the complete double range.
This commit is contained in:
parent
6ed5ac184b
commit
41869062c6
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ gst_frei0r_klass_install_properties (GObjectClass * gobject_class,
|
||||||
case F0R_PARAM_DOUBLE:
|
case F0R_PARAM_DOUBLE:
|
||||||
g_object_class_install_property (gobject_class, count++,
|
g_object_class_install_property (gobject_class, count++,
|
||||||
g_param_spec_double (prop_name, param_info->name,
|
g_param_spec_double (prop_name, param_info->name,
|
||||||
param_info->explanation, 0.0, 1.0, 0.0,
|
param_info->explanation, -G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
|
||||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
||||||
properties[i].n_prop_ids = 1;
|
properties[i].n_prop_ids = 1;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue