summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-09-20 01:26:14 +0000
committerjstebbins <[email protected]>2008-09-20 01:26:14 +0000
commitb3b3fc83847dc15ac9d0aaed2f41e8ffd8228ef2 (patch)
tree3ddfa6e9bd0cb261bf2d8930e93d128f6457a6e4 /gtk/src/hb-backend.c
parent9974553de85bc66e2cc3510e64c6fdfb38426188 (diff)
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
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r--gtk/src/hb-backend.c1
1 files changed, 1 insertions, 0 deletions
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;