X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fsox%2Ffactory.c;h=048d3bc500ea08256a7846d6e7c933f204e32968;hb=f4963a6aa07644399b273b5d2b1f9299c9047414;hp=fc6448d2b47d90a1dbd98e8c290bf38640882b06;hpb=d33f444d4ef4c7bc4074d07a49eca0ab7d108394;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 ); }