]> git.sesse.net Git - mlt/commitdiff
default multi consumer to real_time=-1
authorDan Dennedy <dan@dennedy.org>
Wed, 23 Nov 2011 04:36:46 +0000 (20:36 -0800)
committerDan Dennedy <dan@dennedy.org>
Wed, 23 Nov 2011 04:36:46 +0000 (20:36 -0800)
This defaults command line and XML usage most suitable for use with
avformat consumer. We still need a way to change multi consumer
properties when using more than one -consumer with melt.

src/modules/core/consumer_multi.c

index 05372009964813406400e6634f5d24dc6b84fd22..0cf52f0ceb96ea83c56f4c7f09ec9f25834f80b6 100644 (file)
@@ -48,6 +48,7 @@ mlt_consumer consumer_multi_init( mlt_profile profile, mlt_service_type type, co
                consumer->is_stopped = is_stopped;
 
                mlt_properties_set( MLT_CONSUMER_PROPERTIES(consumer), "resource", arg );
+               mlt_properties_set_int( MLT_CONSUMER_PROPERTIES(consumer), "real_time", -1 );
        }
 
        return consumer;