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:
Sebastian Dröge 2009-06-12 15:13:29 +02:00
parent 6ed5ac184b
commit 41869062c6

View file

@ -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;