From: ddennedy Date: Wed, 23 May 2007 07:11:18 +0000 (+0000) Subject: the framework may not depend upon specific modules--data_feed/show in this case X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=1804df8f27dd733057de14a186070b6714185430;p=melted the framework may not depend upon specific modules--data_feed/show in this case git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@969 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/framework/mlt_factory.c b/src/framework/mlt_factory.c index d551cfa..b624113 100644 --- a/src/framework/mlt_factory.c +++ b/src/framework/mlt_factory.c @@ -244,13 +244,10 @@ mlt_consumer mlt_factory_consumer( const 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 ), filter ); - mlt_filter_close( filter ); } return obj; } diff --git a/src/framework/mlt_producer.c b/src/framework/mlt_producer.c index 7edb53a..ecd1eed 100644 --- a/src/framework/mlt_producer.c +++ b/src/framework/mlt_producer.c @@ -208,12 +208,6 @@ mlt_producer mlt_producer_cut( mlt_producer this, int in, int out ) mlt_properties_set_double( properties, "aspect_ratio", mlt_properties_get_double( parent_props, "aspect_ratio" ) ); mlt_producer_set_in_and_out( result, in, out ); - // Mini fezzik :-/ - mlt_filter filter = mlt_factory_filter( "data_feed", "attr_check" ); - mlt_properties_set_int( MLT_FILTER_PROPERTIES( filter ), "_fezzik", 1 ); - mlt_producer_attach( result, filter ); - mlt_filter_close( filter ); - return result; } diff --git a/src/modules/fezzik.ini b/src/modules/fezzik.ini index f7061e5..c3d7fcc 100644 --- a/src/modules/fezzik.ini +++ b/src/modules/fezzik.ini @@ -11,4 +11,3 @@ rescaler=mcrescale,gtkrescale,rescale resizer=resize resampler=resample,soxresample,avresample data=data_feed:attr_check -obscure=data_show:%obscure.properties