]> git.sesse.net Git - mlt/commitdiff
producer_fezzik.c: let other services prevent Fezzik from attaching filters by passin...
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Mon, 23 Jun 2008 01:26:39 +0000 (01:26 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Mon, 23 Jun 2008 01:26:39 +0000 (01:26 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1146 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/fezzik/producer_fezzik.c

index 5b3eeeb3f84bf3376a1ddf6f91820b6d6c9208c6..2f3af7a752880f8fb2a5dd574af5044a9f7097fc 100644 (file)
@@ -165,7 +165,9 @@ mlt_producer producer_fezzik_init( mlt_profile profile, mlt_service_type type, c
                properties = MLT_PRODUCER_PROPERTIES( producer );
 
        // Attach filters if we have a producer and it isn't already westley'd :-)
-       if ( producer != NULL && mlt_properties_get( properties, "westley" ) == NULL && mlt_properties_get( properties, "_westley" ) == NULL )
+       if ( producer != NULL && mlt_properties_get( properties, "westley" ) == NULL && \
+               mlt_properties_get( properties, "_westley" ) == NULL && \
+               mlt_properties_get( properties, "fezzik_normalised" ) == NULL )
                attach_normalisers( profile, producer );
 
        // Now make sure we don't lose our identity