{
rgba_color result = { 0xff, 0xff, 0xff, 0xff };
- if ( strchr( color, '/' ) )
- color = strrchr( color, '/' ) + 1;
-
if ( !strcmp( color, "red" ) )
{
result.r = 0xff;
int current_height = mlt_properties_get_int( producer_props, "_height" );
// Parse the colour
+ if ( now && strchr( now, '/' ) )
+ {
+ now = strrchr( now, '/' ) + 1;
+ mlt_properties_set( producer_props, "resource", now );
+ }
rgba_color color = parse_color( now, mlt_properties_get_int( producer_props, "resource" ) );
// See if we need to regenerate