From b03fe290cd4ea500b935e63203ccfbd9df0df299 Mon Sep 17 00:00:00 2001 From: blendamedt Date: Thu, 31 Jul 2008 19:36:04 +0000 Subject: [PATCH] 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 --- src/modules/frei0r/factory.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) 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 -- 1.7.4.4