From: jstebbins Date: Sat, 20 Sep 2008 01:26:14 +0000 (+0000) Subject: LinGui: improve the precision of the scaling of the preview image for display X-Git-Tag: 0.9.3~210 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3b3fc83847dc15ac9d0aaed2f41e8ffd8228ef2;p=handbrake LinGui: improve the precision of the scaling of the preview image for display small round off error caused the display to not visibly change for every incremental change in the width control. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1734 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index b05c249cc..c25f02839 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -3652,6 +3652,7 @@ ghb_get_preview_image( gboolean anamorphic = ghb_settings_get_boolean(settings, "anamorphic"); if (anamorphic) { + title->job->modulus = 1; hb_set_anamorphic_size( title->job, &width, &height, &par_width, &par_height ); if (par_width > par_height) dstWidth = dstWidth * par_width / par_height;