mlt_properties_set_double( b_props, "consumer_aspect_ratio", mlt_properties_get_double( a_props, "consumer_aspect_ratio" ) );
}
- mlt_properties_set( b_props, "distort", mlt_properties_get( properties, "distort" ) );
+ mlt_properties_set_int( b_props, "distort", mlt_properties_get_int( properties, "distort" ) );
mlt_frame_get_image( b_frame, &b_image, &b_format, &b_width, &b_height, 0 );
result.w = b_width;
result.h = b_height;
dz = MapZ( affine.matrix, 0, 0 );
+ if ( ( int )abs( dz * 1000 ) < 100 )
+ dz = dz < 0 ? - 0.1 : 0.1;
+
if ( mask != NULL )
memset( mask, 0, b_width * b_height );
{
mlt_properties_set_int( MLT_TRANSITION_PROPERTIES( transition ), "sx", 1 );
mlt_properties_set_int( MLT_TRANSITION_PROPERTIES( transition ), "sy", 1 );
- mlt_properties_set( MLT_TRANSITION_PROPERTIES( transition ), "distort", NULL );
+ mlt_properties_set_int( MLT_TRANSITION_PROPERTIES( transition ), "distort", 0 );
mlt_properties_set( MLT_TRANSITION_PROPERTIES( transition ), "start", "0,0:100%x100%" );
+ // Inform apps and framework that this is a video only transition
+ mlt_properties_set_int( MLT_TRANSITION_PROPERTIES( transition ), "_transition_type", 1 );
transition->process = transition_process;
}
return transition;