]> git.sesse.net Git - mlt/commitdiff
Suppress confusing message when vpre does not exist.
authorDan Dennedy <dan@dennedy.org>
Tue, 5 Jul 2011 04:16:53 +0000 (21:16 -0700)
committerDan Dennedy <dan@dennedy.org>
Tue, 5 Jul 2011 04:16:53 +0000 (21:16 -0700)
src/modules/avformat/consumer_avformat.c

index f8c06bbc6d86c3358b425271c8faaa01539a8cbf..4128cedeaea0d93d934ff30cfe0ac70495347f13 100644 (file)
@@ -641,7 +641,8 @@ static AVStream *add_video_stream( mlt_consumer consumer, AVFormatContext *oc, i
                                        
                                        mlt_properties_close( p );
                                        p = mlt_properties_load( path );
-                                       mlt_properties_debug( p, path, stderr );
+                                       if ( mlt_properties_count( p ) > 0 )
+                                               mlt_properties_debug( p, path, stderr );
                                        free( path );   
                                }
                        }