]> git.sesse.net Git - mlt/commitdiff
Better fix to the region regression (3277867).
authorDan Dennedy <dan@dennedy.org>
Thu, 7 Apr 2011 05:30:55 +0000 (22:30 -0700)
committerDan Dennedy <dan@dennedy.org>
Thu, 7 Apr 2011 05:30:55 +0000 (22:30 -0700)
This one works with bug report test case, timecode overlay in Kdenlive
Render, and Region transition in Kdenlive.

src/modules/core/transition_region.c

index f9187afa36a409e52417a0d02d5e976a142905bb..cf147b20d855ec3f79ab4b6cb6b39a6059fe1d9c 100644 (file)
@@ -264,6 +264,9 @@ static int transition_get_image( mlt_frame frame, uint8_t **image, mlt_image_for
                }
        }
 
+       mlt_properties_set_int( MLT_FRAME_PROPERTIES( frame ), "width", *width );
+       mlt_properties_set_int( MLT_FRAME_PROPERTIES( frame ), "height", *height );
+
        // Only continue if we have both filter and composite
        if ( composite != NULL )
        {