From: blendamedt Date: Thu, 31 Jul 2008 19:36:04 +0000 (+0000) Subject: frei0r/factory.c: use float values for "double vars" in frei0r X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=b03fe290cd4ea500b935e63203ccfbd9df0df299;p=melted frei0r/factory.c: use float values for "double vars" in frei0r git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1166 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/modules/frei0r/factory.c b/src/modules/frei0r/factory.c index e51e258..6c14611 100644 --- a/src/modules/frei0r/factory.c +++ b/src/modules/frei0r/factory.c @@ -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