Import the proof of concept slow motion producer.
[melted] / src / modules / motion_est / factory.c
index 742367d..bd00ccb 100644 (file)
@@ -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;
+}