]> git.sesse.net Git - mlt/commitdiff
frei0r/configure: use CFLAGS so I can tell the test where to find frei0r.h
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 7 Mar 2008 03:38:26 +0000 (03:38 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 7 Mar 2008 03:38:26 +0000 (03:38 +0000)
frei0r/factory.c: add metadata_schema value to metadata

git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1104 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/frei0r/configure
src/modules/frei0r/factory.c

index c1cac588c26bc167ffeb78c3870c8aa8ebc83628..5c46a7da6ad56e6c4534f81238fb51da1bb54e02 100755 (executable)
@@ -3,7 +3,7 @@
 if [ "$help" != "1" ]
 then
 
-       echo -e "#include <frei0r.h>\n int main(){ f0r_plugin_info_t test; test.name;return 0;}\n"| gcc -c -o test1 -x c -  >/dev/null 2>&1
+       echo -e "#include <frei0r.h>\n int main(){ f0r_plugin_info_t test; test.name;return 0;}\n"| gcc $CFLAGS -c -o test1 -x c -  >/dev/null 2>&1
 
        if [ "$?" = "1" ]
        then
index e3e2fae16129631b944e63e0c071d66e9d1f567c..e51e2582cfb3b2a70c5147d8eaec3ae976c9263e 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 );