+ And a fix for the PPC darwin
[melted] / src / modules / sdl / factory.c
index dd43f99..c944be1 100644 (file)
 
 #include "consumer_sdl.h"
 
+#ifdef WITH_SDL_IMAGE
+#include "producer_sdl_image.h"
+#endif
+
 void *mlt_create_producer( char *id, void *arg )
 {
+#ifdef WITH_SDL_IMAGE
+       if ( !strcmp( id, "sdl_image" ) )
+               return producer_sdl_image_init( arg );
+#endif
        return NULL;
 }