X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmodules%2Fcore%2Ffilter_rescale.c;h=1c02a4ad90fee885d941fecbf9f64690abb0e9a7;hb=9be666396ad8842dc9c37915f652d02bbbffe48a;hp=dfbec8fb7b8917eb59d5ccfb912a6eceaad77e29;hpb=2ffcb9719b9f3965f8e9daad58bed80455ec7eff;p=mlt diff --git a/src/modules/core/filter_rescale.c b/src/modules/core/filter_rescale.c index dfbec8fb..1c02a4ad 100644 --- a/src/modules/core/filter_rescale.c +++ b/src/modules/core/filter_rescale.c @@ -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