]> git.sesse.net Git - mlt/commitdiff
Pointless improvement on a bad filter :-)
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Mon, 31 Jan 2005 14:59:32 +0000 (14:59 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Mon, 31 Jan 2005 14:59:32 +0000 (14:59 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@643 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/plus/transition_affine.c

index 6e10ab437ff954b5760615a6c9d973142af2fa8d..4b4a34b6edd673e349c5f8edf5740dbc349ec9c0 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 );