frei0r: Allow the complete double range for double properties
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 12 Jun 2009 13:13:29 +0000 (15:13 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 19 Jun 2009 09:03:13 +0000 (11:03 +0200)
The spec restricts it to [0,1] but some plugins are using the
complete double range.

gst/frei0r/gstfrei0r.c

index 0841c18..a09f0a2 100644 (file)
@@ -91,7 +91,7 @@ gst_frei0r_klass_install_properties (GObjectClass * gobject_class,
       case F0R_PARAM_DOUBLE:
         g_object_class_install_property (gobject_class, count++,
             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));
         properties[i].n_prop_ids = 1;
         break;