X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fresample%2Ffactory.c;h=c61ec5162079d365093a5a70dd666d4f4b8f21ab;hb=f4963a6aa07644399b273b5d2b1f9299c9047414;hp=769e96e952d2b804f39bc18b06ed685412d98c99;hpb=d33f444d4ef4c7bc4074d07a49eca0ab7d108394;p=melted diff --git a/src/modules/resample/factory.c b/src/modules/resample/factory.c index 769e96e..c61ec51 100644 --- a/src/modules/resample/factory.c +++ b/src/modules/resample/factory.c @@ -23,25 +23,7 @@ extern mlt_filter filter_resample_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; + MLT_REGISTER( filter_type, "resample", filter_resample_init ); } - -void *mlt_create_filter( mlt_profile profile, mlt_service_type type, const char *id, char *arg ) -{ - if ( !strcmp( id, "resample" ) ) - return filter_resample_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; -} -