]> git.sesse.net Git - mlt/commitdiff
Allows runtime modifications to region fx
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 23 Jul 2004 09:17:45 +0000 (09:17 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 23 Jul 2004 09:17:45 +0000 (09:17 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@340 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/core/transition_composite.c

index 2d4535cb6af0f5b7581d61113605fe4d9153d416..174d53258abe83c3121ac802a3fb32556a4a460d 100644 (file)
@@ -1010,7 +1010,10 @@ static int transition_get_image( mlt_frame a_frame, uint8_t **image, mlt_image_f
                
                // Optimisation - no compositing required
                if ( result.mix == 0 || ( result.w == 0 && result.h == 0 ) )
+               {
+                       mlt_properties_set_data( properties, "geometries", NULL, 0, NULL, NULL );
                        return 0;
+               }
 
                // Since we are the consumer of the b_frame, we must pass along these
                // consumer properties from the a_frame