]> git.sesse.net Git - mlt/commitdiff
Fix regression on region transition (3277867).
authorDan Dennedy <dan@dennedy.org>
Thu, 7 Apr 2011 04:28:41 +0000 (21:28 -0700)
committerDan Dennedy <dan@dennedy.org>
Thu, 7 Apr 2011 04:28:41 +0000 (21:28 -0700)
src/modules/core/transition_composite.c

index 22eb091e209674b18204f232ffb5b3fdb93ebac8..5c8054315a30fa8c26af3c6645525f3855b7ba0d 100644 (file)
@@ -983,8 +983,8 @@ mlt_frame composite_copy_region( mlt_transition this, mlt_frame a_frame, mlt_pos
 
        // Get the image and dimensions
        uint8_t *image = NULL;
-       int width = mlt_properties_get_int( a_props, "width" );
-       int height = mlt_properties_get_int( a_props, "height" );
+       int width = mlt_properties_get_int( a_props, "normalised_width" );
+       int height = mlt_properties_get_int( a_props, "normalised_height" );
        mlt_image_format format = mlt_image_yuv422;
 
        mlt_frame_get_image( a_frame, &image, &format, &width, &height, 0 );