From: Dan Dennedy Date: Sat, 30 Jun 2012 19:01:51 +0000 (-0700) Subject: melted only supports explicit profiles, not auto-profile X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=dad3a67a6eca96aa207bdd92d9cfce9fc88cc4fa;p=melted melted only supports explicit profiles, not auto-profile --- diff --git a/src/melted/melted_unit.c b/src/melted/melted_unit.c index 66dfd9c..3f09def 100644 --- a/src/melted/melted_unit.c +++ b/src/melted/melted_unit.c @@ -55,6 +55,7 @@ melted_unit melted_unit_init( int index, char *constructor ) { melted_unit this = NULL; mlt_consumer consumer = NULL; + mlt_profile profile = mlt_profile_init( NULL ); char *id = strdup( constructor ); char *arg = strchr( id, ':' ); @@ -62,7 +63,8 @@ melted_unit melted_unit_init( int index, char *constructor ) if ( arg != NULL ) *arg ++ = '\0'; - consumer = mlt_factory_consumer( NULL, id, arg ); + profile->is_explicit = 1; + consumer = mlt_factory_consumer( profile, id, arg ); if ( consumer != NULL ) {