summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/hb-backend.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index f2f0f2a7f..46e3e9d3f 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -2917,6 +2917,7 @@ set_preview_job_settings(hb_job_t *job, GValue *settings)
job->crop[3] = 0;
job->width = job->title->width;
job->height = job->title->height;
+ job->anamorphic.modulus = 2;
}
gint deint = ghb_settings_combo_int(settings, "PictureDeinterlace");
@@ -4088,6 +4089,7 @@ ghb_get_preview_image(
c2 = ghb_settings_get_int(settings, "PictureLeftCrop");
c3 = ghb_settings_get_int(settings, "PictureRightCrop");
+printf("dims %dx%d\n", w, h);
gdouble xscale = (gdouble)w / (gdouble)(title->width - c2 - c3);
gdouble yscale = (gdouble)h / (gdouble)(title->height - c0 - c1);
@@ -4126,7 +4128,7 @@ ghb_get_preview_image(
w *= (gdouble)dstWidth / orig_w;
h *= (gdouble)dstHeight / orig_h;
}
- g_debug("scaled %d x %d", dstWidth, dstHeight);
+ g_message("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"))