]> git.sesse.net Git - mlt/blobdiff - src/modules/qimage/factory.c
mlt_repository.[hc]:
[mlt] / src / modules / qimage / factory.c
index f9d58860fd33bf0ca9b7d23f2ce3624096ee39bd..61cb0ec0ee25a9040a0db607e0d77a194fbf4dd3 100644 (file)
 
 extern mlt_producer producer_qimage_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, "qimage" ) )
-               return producer_qimage_init( profile, type, id, arg );
-       return NULL;
+       MLT_REGISTER( producer_type, "qimage", producer_qimage_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;
-}
-