]> git.sesse.net Git - mlt/blobdiff - src/modules/vorbis/factory.c
framework: remove global profile, rather share one mlt_profile across a service netwo...
[mlt] / src / modules / vorbis / factory.c
index e39504923b911306d25538846b470013015165ec..080e151843a1fb4229fd50aff824fd0a1091be38 100644 (file)
  */
 
 #include <string.h>
+#include <framework/mlt.h>
 
-#include "producer_vorbis.h"
+extern mlt_producer producer_vorbis_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
 
-void *mlt_create_producer( char *id, void *arg )
+void *mlt_create_producer( mlt_profile profile, mlt_service_type type, const char *id, char *arg )
 {
        if ( !strcmp( id, "vorbis" ) )
-               return producer_vorbis_init( arg );
+               return producer_vorbis_init( profile, type, id, arg );
        return NULL;
 }
 
-void *mlt_create_filter( char *id, void *arg )
+void *mlt_create_filter( mlt_profile profile, mlt_service_type type, const char *id, char *arg )
 {
        return NULL;
 }
 
-void *mlt_create_transition( char *id, void *arg )
+void *mlt_create_transition( mlt_profile profile, mlt_service_type type, const char *id, char *arg )
 {
        return NULL;
 }
 
-void *mlt_create_consumer( char *id, void *arg )
+void *mlt_create_consumer( mlt_profile profile, mlt_service_type type, const char *id, char *arg )
 {
        return NULL;
 }