X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fkino%2Ffactory.c;h=13e8def8a27169bc3e858a1ce1ec79f899f9f796;hb=d7716abeda97624b8a334a295b91725756b81221;hp=9316abb8ae0c2711cb017cc646c776d7b4cd7885;hpb=d33f444d4ef4c7bc4074d07a49eca0ab7d108394;p=melted diff --git a/src/modules/kino/factory.c b/src/modules/kino/factory.c index 9316abb..13e8def 100644 --- a/src/modules/kino/factory.c +++ b/src/modules/kino/factory.c @@ -23,25 +23,7 @@ extern mlt_producer producer_kino_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, "kino" ) ) - return producer_kino_init( profile, type, id, arg ); - return NULL; + MLT_REGISTER( producer_type, "kino", producer_kino_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; -} -