X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fsox%2Ffactory.c;fp=src%2Fmodules%2Fsox%2Ffactory.c;h=048d3bc500ea08256a7846d6e7c933f204e32968;hb=16b6d374cf80004b192aae74a55b0452c7ee809d;hp=fc6448d2b47d90a1dbd98e8c290bf38640882b06;hpb=f0f9e433051b21e14471bb48bc5d140e6c2b14c5;p=melted diff --git a/src/modules/sox/factory.c b/src/modules/sox/factory.c index fc6448d..048d3bc 100644 --- a/src/modules/sox/factory.c +++ b/src/modules/sox/factory.c @@ -23,24 +23,7 @@ extern mlt_filter filter_sox_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 { - return NULL; -} - -void *mlt_create_filter( mlt_profile profile, mlt_service_type type, const char *id, char *arg ) -{ - if ( !strcmp( id, "sox" ) ) - return filter_sox_init( profile, type, id, 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; + MLT_REGISTER( filter_type, "sox", filter_sox_init ); }