{
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
+ char *resource = mlt_properties_get( producer_props, "resource" );
+ if ( resource && strchr( resource, '/' ) )
+ mlt_properties_set( producer_props, "resource", strrchr( resource, '/' ) + 1 );
rgba_color color = parse_color( now, mlt_properties_get_int( producer_props, "resource" ) );
// See if we need to regenerate