consumer_avformat.c: set consumer buffer prefill to 1 by default.
[melted] / src / modules / avformat / consumer_avformat.c
index e6fa1c3..5a24e96 100644 (file)
@@ -174,6 +174,7 @@ mlt_consumer consumer_avformat_init( mlt_profile profile, char *arg )
                
                // Default to separate processing threads for producer and consumer with no frame dropping!
                mlt_properties_set_int( properties, "real_time", -1 );
+               mlt_properties_set_int( properties, "prefill", 1 );
 
                // Set up start/stop/terminated callbacks
                this->start = consumer_start;