frei0r/factory.c: set min/max values in metadata to defined min/max from frei0r.h
[melted] / src / modules / frei0r / factory.c
index 568ffb1..8d37cac 100644 (file)
@@ -108,8 +108,8 @@ static mlt_properties fill_param_info ( mlt_service_type type, const char *servi
                mlt_properties_set ( pnum , "description" , paraminfo.explanation);
                if ( paraminfo.type == F0R_PARAM_DOUBLE ){
                        mlt_properties_set ( pnum , "type" , "float" );
-                       mlt_properties_set ( pnum , "minimum" , "-2" );
-                       mlt_properties_set ( pnum , "maximum" , "2" );
+                       mlt_properties_set ( pnum , "minimum" , "0" );
+                       mlt_properties_set ( pnum , "maximum" , "1" );
                        mlt_properties_set ( pnum , "readonly" , "no" );
                        mlt_properties_set ( pnum , "widget" , "spinner" );
                }else