X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_factory.c;fp=src%2Fframework%2Fmlt_factory.c;h=dbaf2dbd58f7bdbb01e6c28e46c890cf9de85940;hb=3e00d7e35326b6fecbd95f459266f91fc60e6f15;hp=f183baabf2419ffa36a4244d75c6dfb7382a359a;hpb=1c51b358cbde8c1a8623d140e64fdc19bcbcb508;p=melted diff --git a/src/framework/mlt_factory.c b/src/framework/mlt_factory.c index f183baa..dbaf2db 100644 --- a/src/framework/mlt_factory.c +++ b/src/framework/mlt_factory.c @@ -170,11 +170,13 @@ mlt_consumer mlt_factory_consumer( char *service, void *input ) if ( obj != NULL ) { + mlt_filter filter = mlt_factory_filter( "data_show", NULL ); mlt_properties properties = mlt_consumer_properties( obj ); mlt_properties_set_int( properties, "_unique_id", ++ unique_id ); mlt_properties_set( properties, "mlt_type", "consumer" ); mlt_properties_set( properties, "mlt_service", service ); - mlt_service_attach( mlt_consumer_service( obj ), mlt_factory_filter( "data_show", NULL ) ); + mlt_service_attach( mlt_consumer_service( obj ), filter ); + mlt_filter_close( filter ); } return obj; }