{
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 )
{
status->tail_length = mlt_producer_get_length( clip );
status->clip_index = mlt_playlist_current_clip( playlist );
status->seek_flag = 1;
+ status->dur = mlt_producer_get_length( producer );
+ status->start = info.start;
}
status->generation = mlt_properties_get_int( properties, "generation" );