]> git.sesse.net Git - mlt/commitdiff
fix using multi consumer only when more than one -consumer arg
authorDan Dennedy <dan@dennedy.org>
Sun, 20 Nov 2011 02:06:55 +0000 (18:06 -0800)
committerDan Dennedy <dan@dennedy.org>
Sun, 20 Nov 2011 02:06:55 +0000 (18:06 -0800)
src/melt/melt.c

index e8b06e749439d3345927ccf8a0c1c8978fbf7d5b..8298266040e5677de7e3a94e86f17238c552f2b7 100644 (file)
@@ -267,7 +267,7 @@ static void load_consumer( mlt_consumer *consumer, mlt_profile profile, int argc
        for ( i = 1; i < argc; i ++ )
                multi += !strcmp( argv[ i ], "-consumer" );
 
-       if ( multi )
+       if ( multi > 1 )
        {
                // If there is more than one -consumer use the 'multi' consumer.
                int k = 0;