X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Ffezzik%2Fproducer_fezzik.c;h=85de272654e5ebfc2bceecb8af98d916bdc6929b;hb=cdf7162ebc07120e92166a0e43eaba21ecca25ba;hp=22c3510bb4d7236f74e5b9b013016d56726cc233;hpb=870a1069dd7a1b33623f3284c089b9be2dfb4491;p=melted diff --git a/src/modules/fezzik/producer_fezzik.c b/src/modules/fezzik/producer_fezzik.c index 22c3510..85de272 100644 --- a/src/modules/fezzik/producer_fezzik.c +++ b/src/modules/fezzik/producer_fezzik.c @@ -114,7 +114,7 @@ static void create_filter( mlt_producer producer, char *effect, int *created ) mlt_filter filter = mlt_factory_filter( id, arg ); if ( filter != NULL ) { - mlt_properties_set_int( mlt_filter_properties( filter ), "_fezzik", 1 ); + mlt_properties_set_int( MLT_FILTER_PROPERTIES( filter ), "_fezzik", 1 ); mlt_producer_attach( producer, filter ); mlt_filter_close( filter ); *created = 1; @@ -164,10 +164,10 @@ mlt_producer producer_fezzik_init( char *arg ) producer = create_producer( arg ); if ( producer != NULL ) - properties = mlt_producer_properties( producer ); + 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 ) + if ( producer != NULL && mlt_properties_get( properties, "westley" ) == NULL && mlt_properties_get( properties, "_westley" ) == NULL ) attach_normalisers( producer ); // Now make sure we don't lose our identity