X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Ffrei0r%2Ffactory.c;h=6c14611956a6f358d4d807aed8ab605304dd0893;hb=f55cf6833f65f7677708c5f6e0573a280a9b7307;hp=e3e2fae16129631b944e63e0c071d66e9d1f567c;hpb=44b1a9af480b617d3ad42b032c47bce2e08cf8a1;p=melted diff --git a/src/modules/frei0r/factory.c b/src/modules/frei0r/factory.c index e3e2fae..6c14611 100644 --- a/src/modules/frei0r/factory.c +++ b/src/modules/frei0r/factory.c @@ -51,6 +51,7 @@ static mlt_properties fill_param_info ( mlt_service_type type, const char *servi plginfo(&info); snprintf ( string, sizeof(string) , "%d.%d" , info.major_version , info.minor_version ); + mlt_properties_set ( metadata, "schema_version" , "0.1" ); mlt_properties_set ( metadata, "title" , info.name ); mlt_properties_set ( metadata, "version", string ); mlt_properties_set ( metadata, "identifier" , service_name ); @@ -83,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