Pointless improvement on a bad filter :-)
[melted] / src / modules / plus / transition_affine.c
index 6e10ab4..4b4a34b 100644 (file)
@@ -615,6 +615,9 @@ static int transition_get_image( mlt_frame a_frame, uint8_t **image, mlt_image_f
 
                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 );