// Inform the normalizers about our video properties
mlt_properties frame_props = MLT_FRAME_PROPERTIES( *frame );
mlt_properties_set_double( frame_props, "aspect_ratio", mlt_profile_sar( cx->profile ) );
- mlt_properties_set_double( frame_props, "width", cx->profile->width );
- mlt_properties_set_double( frame_props, "height", cx->profile->height );
+ mlt_properties_set_int( frame_props, "width", cx->profile->width );
+ mlt_properties_set_int( frame_props, "height", cx->profile->height );
+ mlt_properties_set_int( frame_props, "real_width", cx->profile->width );
+ mlt_properties_set_int( frame_props, "real_height", cx->profile->height );
+ mlt_properties_set_int( frame_props, "progressive", cx->profile->progressive );
}
// Calculate the next timecode