X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmelted%2Fmelted_unit.c;h=3f09defe3ad07e93bdcba2ffa38c05806818cd80;hb=dad3a67a6eca96aa207bdd92d9cfce9fc88cc4fa;hp=66dfd9cf3193393b55bbfe198a72cc921285617e;hpb=ab321849cf985c1de0bdc1e6f936a2180a777284;p=melted 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 ) {