From: lilo_booter Date: Tue, 5 Jul 2005 16:01:27 +0000 (+0000) Subject: src/modules/westley/producer_westley.c X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=4bab66b2e702520181e5019632a921615557bf18;p=melted src/modules/westley/producer_westley.c - Rollback on erroneous checkin (functionality covered correctly in playlist) git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@749 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/modules/westley/producer_westley.c b/src/modules/westley/producer_westley.c index 0869e10..4921e78 100644 --- a/src/modules/westley/producer_westley.c +++ b/src/modules/westley/producer_westley.c @@ -445,7 +445,6 @@ static void on_end_producer( deserialise_context context, const xmlChar *name ) qualify_property( context, properties, "resource" ); char *resource = mlt_properties_get( properties, "resource" ); - int fx_cut = mlt_properties_get_int( properties, "meta.fx_cut" ); // Let Kino-SMIL src be a synonym for resource if ( resource == NULL ) @@ -455,7 +454,7 @@ static void on_end_producer( deserialise_context context, const xmlChar *name ) } // Instantiate the producer - if ( !fx_cut && mlt_properties_get( properties, "mlt_service" ) != NULL ) + if ( mlt_properties_get( properties, "mlt_service" ) != NULL ) { char temp[ 1024 ]; strncpy( temp, mlt_properties_get( properties, "mlt_service" ), 1024 ); @@ -466,10 +465,6 @@ static void on_end_producer( deserialise_context context, const xmlChar *name ) } producer = MLT_SERVICE( mlt_factory_producer( "fezzik", temp ) ); } - else - { - producer = MLT_SERVICE( mlt_factory_producer( mlt_properties_get( properties, "mlt_service" ), resource ) ); - } // Just in case the plugin requested doesn't exist... if ( producer == NULL && resource != NULL )