]> git.sesse.net Git - mlt/blobdiff - src/modules/inigo/producer_inigo.c
vorbis producer added, clean up on clip handling in multitrack
[mlt] / src / modules / inigo / producer_inigo.c
index a266af7ebc4af5ba381b4929f94797725e513401..313e8d59782e3e5ac4f89475d04fbde61908e22f 100644 (file)
@@ -48,7 +48,9 @@ static mlt_producer parse_inigo( char *file )
        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 -- )
@@ -85,6 +87,8 @@ static mlt_producer create_producer( char *file )
                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" ) )
@@ -93,6 +97,10 @@ static mlt_producer create_producer( char *file )
                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 );