X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Feffectv%2Ffactory.c;h=e28d765a0c5cefd71f6b6c424c682f60409d55a0;hb=f4963a6aa07644399b273b5d2b1f9299c9047414;hp=2092b40aa719602e7fd5741201e07c7d98fe2afc;hpb=d33f444d4ef4c7bc4074d07a49eca0ab7d108394;p=melted diff --git a/src/modules/effectv/factory.c b/src/modules/effectv/factory.c index 2092b40..e28d765 100644 --- a/src/modules/effectv/factory.c +++ b/src/modules/effectv/factory.c @@ -22,24 +22,8 @@ extern mlt_filter filter_burn_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, "BurningTV" ) ) - return filter_burn_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, "BurningTV", filter_burn_init ); + MLT_REGISTER( filter_type, "burningtv", filter_burn_init ); }