]> git.sesse.net Git - mlt/blobdiff - src/modules/resample/factory.c
Change consumer 'profile' property to 'mlt_profile'
[mlt] / src / modules / resample / factory.c
index 769e96e952d2b804f39bc18b06ed685412d98c99..c61ec5162079d365093a5a70dd666d4f4b8f21ab 100644 (file)
 
 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;
-}
-