*p ++ = color.b;
}
break;
+ case mlt_image_glsl:
+ case mlt_image_glsl_texture:
+ memset(p, 0, size);
+ break;
default:
+ *format = mlt_image_rgb24a;
while ( --i )
{
*p ++ = color.r;
// Set producer-specific frame properties
mlt_properties_set_int( properties, "progressive", 1 );
- mlt_properties_set_double( properties, "aspect_ratio", mlt_properties_get_double( producer_props, "aspect_ratio" ) );
+ mlt_profile profile = mlt_service_profile( MLT_PRODUCER_SERVICE( producer ) );
+ mlt_properties_set_double( properties, "aspect_ratio", mlt_profile_sar( profile ) );
// colour is an alias for resource
if ( mlt_properties_get( producer_props, "colour" ) != NULL )