src/modules/westley/producer_westley.c
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 5 Jul 2005 16:01:27 +0000 (16:01 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 5 Jul 2005 16:01:27 +0000 (16:01 +0000)
- 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

src/modules/westley/producer_westley.c

index 0869e10..4921e78 100644 (file)
@@ -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 )