]> git.sesse.net Git - mlt/blobdiff - src/modules/core/filter_rescale.c
First attempt at a composite clean up
[mlt] / src / modules / core / filter_rescale.c
index dfbec8fb7b8917eb59d5ccfb912a6eceaad77e29..1c02a4ad90fee885d941fecbf9f64690abb0e9a7 100644 (file)
@@ -166,7 +166,7 @@ static int filter_get_image( mlt_frame this, uint8_t **image, mlt_image_format *
                {
                        // When no scaling is requested, revert the requested dimensions if possible
                        mlt_properties_set_int( properties, "rescale_width", ( iwidth / 2 ) * 2 );
-                       mlt_properties_set_int( properties, "rescale_height", ( iheight / 2 ) * 2 );
+                       mlt_properties_set_int( properties, "rescale_height", iheight );
                }
        
                // Get the image as requested