From 6fe6a8e25c6962e212e7cbce3f7334413d89c686 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Fri, 16 Mar 2018 18:30:02 -0600 Subject: [PATCH] LinGui: fix problem with application of autoscale Fixes https://github.com/HandBrake/HandBrake/issues/1146 --- gtk/src/presets.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/src/presets.c b/gtk/src/presets.c index 32e9782de..065a8383c 100644 --- a/gtk/src/presets.c +++ b/gtk/src/presets.c @@ -265,6 +265,8 @@ ghb_preset_to_settings(GhbValue *settings, GhbValue *preset) autoscale = uses_pic != 1 || (width == 0 && height == 0); ghb_dict_set_bool(settings, "autoscale", autoscale); + ghb_dict_set_int(settings, "PictureWidthEnable", !autoscale); + ghb_dict_set_int(settings, "PictureHeightEnable", !autoscale); gint vqtype; -- 2.40.0