X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fgtk2%2Ffilter_rescale.c;h=92b2b7b6713c9de90daae075afd9204f622f9d82;hb=f4fef6a77643c2ec85e00f0afc28d88fe0fbd4a9;hp=936e0e6d49570dacc43bf2491587c97a32150e81;hpb=34caefec7aa0334f38a649838cf3ab9db7388b27;p=melted diff --git a/src/modules/gtk2/filter_rescale.c b/src/modules/gtk2/filter_rescale.c index 936e0e6..92b2b7b 100644 --- a/src/modules/gtk2/filter_rescale.c +++ b/src/modules/gtk2/filter_rescale.c @@ -74,7 +74,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 / 2 ) * 2 ); } // Get the image as requested