frei0r/factory.c: set min/max values in metadata to defined min/max from frei0r.h
authorblendamedt <blendamedt@d19143bc-622f-0410-bfdd-b5b2a6649095>
Thu, 30 Oct 2008 21:47:00 +0000 (21:47 +0000)
committerblendamedt <blendamedt@d19143bc-622f-0410-bfdd-b5b2a6649095>
Thu, 30 Oct 2008 21:47:00 +0000 (21:47 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1217 d19143bc-622f-0410-bfdd-b5b2a6649095

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