X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fvorbis%2Ffactory.c;h=3df2e7524f72a6cc0c569b78f4a5696afbe7ad5b;hb=81545630b9614efc07ec3ae13d1f9a1eff79ea05;hp=080e151843a1fb4229fd50aff824fd0a1091be38;hpb=d33f444d4ef4c7bc4074d07a49eca0ab7d108394;p=melted diff --git a/src/modules/vorbis/factory.c b/src/modules/vorbis/factory.c index 080e151..3df2e75 100644 --- a/src/modules/vorbis/factory.c +++ b/src/modules/vorbis/factory.c @@ -23,25 +23,7 @@ extern mlt_producer producer_vorbis_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 { - if ( !strcmp( id, "vorbis" ) ) - return producer_vorbis_init( profile, type, id, arg ); - return NULL; + MLT_REGISTER( producer_type, "vorbis", producer_vorbis_init ); } - -void *mlt_create_filter( mlt_profile profile, mlt_service_type type, const char *id, char *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; -} -