]> git.sesse.net Git - mlt/commitdiff
frei0r/factory.c: use float values for "double vars" in frei0r
authorblendamedt <blendamedt@d19143bc-622f-0410-bfdd-b5b2a6649095>
Thu, 31 Jul 2008 19:36:04 +0000 (19:36 +0000)
committerblendamedt <blendamedt@d19143bc-622f-0410-bfdd-b5b2a6649095>
Thu, 31 Jul 2008 19:36:04 +0000 (19:36 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1166 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/frei0r/factory.c

index e51e2582cfb3b2a70c5147d8eaec3ae976c9263e..6c14611956a6f358d4d807aed8ab605304dd0893 100644 (file)
@@ -84,9 +84,9 @@ static mlt_properties fill_param_info ( mlt_service_type type, const char *servi
                mlt_properties_set ( pnum , "title" , paraminfo.name );
                mlt_properties_set ( pnum , "description" , paraminfo.explanation);
                if ( paraminfo.type == F0R_PARAM_DOUBLE ){
-                       mlt_properties_set ( pnum , "type" , "integer" );
-                       mlt_properties_set ( pnum , "minimum" , "0" );
-                       mlt_properties_set ( pnum , "maximum" , "1000" );
+                       mlt_properties_set ( pnum , "type" , "float" );
+                       mlt_properties_set ( pnum , "minimum" , "-2" );
+                       mlt_properties_set ( pnum , "maximum" , "2" );
                        mlt_properties_set ( pnum , "readonly" , "no" );
                        mlt_properties_set ( pnum , "widget" , "spinner" );
                }else