From dad3a67a6eca96aa207bdd92d9cfce9fc88cc4fa Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Sat, 30 Jun 2012 12:01:51 -0700 Subject: [PATCH] melted only supports explicit profiles, not auto-profile --- src/melted/melted_unit.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) 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 ) { -- 1.7.4.4