mlt_properties properties = MLT_FILTER_PROPERTIES( filter );
// Get the image
- int error = 0; //mlt_frame_get_image( this, image, format, width, height, 0 );
+ int error = 0;
+ *format = mlt_image_yuv422;
+ //mlt_frame_get_image( this, image, format, width, height, 0 );
// Only process if we have no error and a valid colour space
- if ( error == 0 && *format == mlt_image_yuv422 )
+ if ( error == 0 )
{
mlt_producer producer = mlt_properties_get_data( properties, "producer", NULL );
mlt_transition transition = mlt_properties_get_data( properties, "transition", NULL );
{
char *background = mlt_properties_get( properties, "background" );
mlt_profile profile = mlt_service_profile( MLT_FILTER_SERVICE( filter ) );
- producer = mlt_factory_producer( profile, "fezzik", background );
+ producer = mlt_factory_producer( profile, NULL, background );
mlt_properties_set_data( properties, "producer", producer, 0, (mlt_destructor)mlt_producer_close, NULL );
}