]> git.sesse.net Git - mlt/commitdiff
fix -progress2 with pipe input
authorDan Dennedy <dan@dennedy.org>
Sat, 11 Aug 2012 17:24:02 +0000 (10:24 -0700)
committerunknown <ddennedy@.(none)>
Sat, 11 Aug 2012 17:25:42 +0000 (10:25 -0700)
src/melt/melt.c

index 4cf6ee7c3e545a05333176dcef74fd8916a68270..ff77fcfb6b092721a60dbb2b22d44b8dcac07423 100644 (file)
@@ -782,7 +782,7 @@ query_all:
                        mlt_log_set_level( MLT_LOG_DEBUG );
                }
        }
-       if ( !is_silent && !isatty( STDIN_FILENO ) )
+       if ( !is_silent && !isatty( STDIN_FILENO ) && !is_progress )
                is_progress = 1;
 
        // Create profile if not set explicitly