diff options
author | jstebbins <[email protected]> | 2009-06-06 17:05:12 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-06-06 17:05:12 +0000 |
commit | 0c7fb06a10928ce4931f7d58e55aa3d506df262d (patch) | |
tree | f2b71e1d87722180f3590361a6773737a86245d1 /gtk/src | |
parent | 40399c191cf7c62a590f6fce67f4a2da14e0289a (diff) |
LinGui: use new job->anamorphic.keep_display_apsect flag for ana mode 3
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2493 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src')
-rw-r--r-- | gtk/src/hb-backend.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index 7bb9d8e93..6d7887366 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -3131,9 +3131,11 @@ set_preview_job_settings(hb_job_t *job, GValue *settings) disp_height = ghb_settings_get_int(settings, "PictureDisplayHeight"); job->anamorphic.dar_width = disp_width; job->anamorphic.dar_height = disp_height; + job->anamorphic.keep_display_aspect = 0; } else { + job->anamorphic.keep_display_aspect = 1; job->anamorphic.dar_width = 0; job->anamorphic.dar_height = 0; } @@ -4460,7 +4462,6 @@ ghb_get_preview_image( w *= (gdouble)dstWidth / orig_w; h *= (gdouble)dstHeight / orig_h; } - g_debug("scaled %d x %d", dstWidth, dstHeight); GdkPixbuf *scaled_preview; scaled_preview = gdk_pixbuf_scale_simple(preview, dstWidth, dstHeight, GDK_INTERP_HYPER); if (ghb_settings_get_boolean(settings, "show_crop")) |