From: lilo_booter Date: Mon, 31 Jan 2005 14:59:32 +0000 (+0000) Subject: Pointless improvement on a bad filter :-) X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=b31b71f329223380c7099c691dba5fe8cb696feb;p=melted Pointless improvement on a bad filter :-) git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@643 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/modules/plus/transition_affine.c b/src/modules/plus/transition_affine.c index 6e10ab4..4b4a34b 100644 --- a/src/modules/plus/transition_affine.c +++ b/src/modules/plus/transition_affine.c @@ -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 );