X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fnormalize%2Ffactory.c;h=3736d7d2a3cac612c0cdfa9b57cb5b7dd511c813;hb=7ecd47eeebf87332a4892d167baff959f0f6a11a;hp=24862506ee4a2b110cdcfd3bd78399c71d4f1eaf;hpb=d33f444d4ef4c7bc4074d07a49eca0ab7d108394;p=melted diff --git a/src/modules/normalize/factory.c b/src/modules/normalize/factory.c index 2486250..3736d7d 100644 --- a/src/modules/normalize/factory.c +++ b/src/modules/normalize/factory.c @@ -23,24 +23,7 @@ extern mlt_filter filter_volume_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg ); -void *mlt_create_producer( mlt_profile profile, mlt_service_type type, const char *id, char *arg ) +MLT_REPOSITORY { - return NULL; -} - -void *mlt_create_filter( mlt_profile profile, mlt_service_type type, const char *id, char *arg ) -{ - if ( !strcmp( id, "volume" ) ) - return filter_volume_init( profile, type, id, arg ); - return NULL; -} - -void *mlt_create_transition( mlt_profile profile, mlt_service_type type, const char *id, char *arg ) -{ - return NULL; -} - -void *mlt_create_consumer( mlt_profile profile, mlt_service_type type, const char *id, char *arg ) -{ - return NULL; + MLT_REGISTER( filter_type, "volume", filter_volume_init ); }