producer_avformat.c: bugfix Ogg Vorbis files and possibly others that report invalid...
[melted] / src / modules / frei0r / factory.c
index e3e2fae..6c14611 100644 (file)
@@ -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