From b3b3fc83847dc15ac9d0aaed2f41e8ffd8228ef2 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 20 Sep 2008 01:26:14 +0000 Subject: [PATCH] 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 --- gtk/src/hb-backend.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.40.0