if ( result != NULL )
{
mlt_properties properties = mlt_producer_properties( result );
+ fprintf( stderr, "resource = %s\n", mlt_properties_get( properties, "resource" ) );
mlt_properties_set( properties, "resource", file );
+ fprintf( stderr, "resource = %s\n", mlt_properties_get( properties, "resource" ) );
}
while( count -- )
result = mlt_factory_producer( "pango", file );
else if ( strstr( file, ".westley" ) )
result = mlt_factory_producer( "westley", file );
+ else if ( strstr( file, ".ogg" ) )
+ result = mlt_factory_producer( "vorbis", file );
// 2nd Line fallbacks
if ( result == NULL && strstr( file, ".dv" ) )
result = mlt_factory_producer( "libdv", file );
// 3rd line fallbacks
+ if ( result == NULL )
+ result = mlt_factory_producer( "avformat", file );
+
+ // 4th line fallbacks
if ( result == NULL )
result = mlt_factory_producer( "ffmpeg", file );