From: ddennedy Date: Fri, 7 Mar 2008 03:38:26 +0000 (+0000) Subject: frei0r/configure: use CFLAGS so I can tell the test where to find frei0r.h X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=a6313ab2681932e2e9d2834711390c9f130b751a;p=melted frei0r/configure: use CFLAGS so I can tell the test where to find frei0r.h 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 --- diff --git a/src/modules/frei0r/configure b/src/modules/frei0r/configure index c1cac58..5c46a7d 100755 --- a/src/modules/frei0r/configure +++ b/src/modules/frei0r/configure @@ -3,7 +3,7 @@ if [ "$help" != "1" ] then - echo -e "#include \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 \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 diff --git a/src/modules/frei0r/factory.c b/src/modules/frei0r/factory.c index e3e2fae..e51e258 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 );