X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fxine%2Ffactory.c;h=11d2c15bbb509d81aa56c4670110cea98a3cc9f1;hb=70933f360aa7d16e5140267ce2f716de924464c7;hp=bdcf50db787ed356e737424c29c6ef4e2d1c5a5e;hpb=d33f444d4ef4c7bc4074d07a49eca0ab7d108394;p=melted diff --git a/src/modules/xine/factory.c b/src/modules/xine/factory.c index bdcf50d..11d2c15 100644 --- a/src/modules/xine/factory.c +++ b/src/modules/xine/factory.c @@ -23,24 +23,7 @@ extern mlt_filter filter_deinterlace_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, "deinterlace" ) ) - return filter_deinterlace_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, "deinterlace", filter_deinterlace_init ); }