]> git.sesse.net Git - mlt/blobdiff - src/modules/effectv/factory.c
framework: remove global profile, rather share one mlt_profile across a service netwo...
[mlt] / src / modules / effectv / factory.c
index 06320d8cd6e142612d1daac2692752cc0951dbee..2092b40aa719602e7fd5741201e07c7d98fe2afc 100644 (file)
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#include <framework/mlt.h>
 #include <string.h>
 
-#include "filter_burn.h"
+extern mlt_filter filter_burn_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 )
 {
        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 )
 {
        if ( !strcmp( id, "BurningTV" ) )
-               return filter_burn_init( arg );
+               return filter_burn_init( profile, type, id, 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;
 }