Permalink
Browse files

melted only supports explicit profiles, not auto-profile

  • Loading branch information...
1 parent ab32184 commit dad3a67a6eca96aa207bdd92d9cfce9fc88cc4fa @ddennedy ddennedy committed Jun 30, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/melted/melted_unit.c
View
4 src/melted/melted_unit.c
@@ -55,14 +55,16 @@ 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, ':' );
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 )
{

0 comments on commit dad3a67

Please sign in to comment.