producer->close = producer_close;
// Set the default properties
- if ( colour == NULL )
- colour = "0x000000ff";
- mlt_properties_set( properties, "resource", colour );
+ mlt_properties_set( properties, "resource", colour == NULL ? "0x000000ff" : colour );
return producer;
}
// See if we need to regenerate
if ( *width != current_width || *height != current_height )
{
- fprintf( stderr, "%dx%d\n", *width, *height );
// Allocate the image
size = *width * *height * 2;
image = mlt_pool_alloc( size );