X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fmotion_est%2Ffactory.c;h=bd00ccba118dcf7eab74f2049aadf23f8f5e433b;hb=113bbb78306dc480d20e01fce5084522ebc0a781;hp=742367d496096c280c27f7e38541d16d280edce7;hpb=dce862a908afdad0b783f45d962d781992a0a6da;p=melted diff --git a/src/modules/motion_est/factory.c b/src/modules/motion_est/factory.c index 742367d..bd00ccb 100644 --- a/src/modules/motion_est/factory.c +++ b/src/modules/motion_est/factory.c @@ -22,6 +22,7 @@ extern mlt_filter filter_motion_est_init(char *); extern mlt_filter filter_vismv_init(char *); extern mlt_filter filter_crop_detect_init(char *); extern mlt_filter filter_autotrack_rectangle_init(char *); +extern mlt_producer producer_slowmotion_init(char *); void *mlt_create_filter( char *id, void *arg ) { @@ -35,3 +36,10 @@ void *mlt_create_filter( char *id, void *arg ) return filter_autotrack_rectangle_init( arg ); return NULL; } + +void *mlt_create_producer( char *id, void *arg ) +{ + if ( !strcmp( id, "slowmotion" ) ) + return producer_slowmotion_init( arg ); + return NULL; +}