summaryrefslogtreecommitdiffstats
path: root/gtk/src/presets.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/presets.c')
-rw-r--r--gtk/src/presets.c2
1 files changed, 2 insertions, 0 deletions
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;