mlt_properties properties = mlt_service_properties( &this->parent );
// Get the normalisation preference
- char *normalisation = getenv( "MLT_NORMALISATION" );
+ char *normalisation = mlt_environment( "MLT_NORMALISATION" );
// Deal with normalisation
if ( normalisation == NULL || strcmp( normalisation, "NTSC" ) )
// Aspect ratio and other jiggery pokery
mlt_properties_set_double( frame_properties, "consumer_aspect_ratio", mlt_properties_get_double( properties, "aspect_ratio" ) );
mlt_properties_set_int( frame_properties, "consumer_progressive", mlt_properties_get_int( properties, "progressive" ) );
+ mlt_properties_set_int( frame_properties, "consumer_deinterlace", mlt_properties_get_int( properties, "deinterlace" ) );
}