diff options
author | John Stebbins <[email protected]> | 2018-03-16 18:30:02 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2018-03-16 18:30:02 -0600 |
commit | 6fe6a8e25c6962e212e7cbce3f7334413d89c686 (patch) | |
tree | f3d67b909335eb58043da918564c432dba245705 /gtk/src/presets.c | |
parent | 462362a16a4e592424fa0f662f36921ec942d052 (diff) |
LinGui: fix problem with application of autoscale
Fixes https://github.com/HandBrake/HandBrake/issues/1146
Diffstat (limited to 'gtk/src/presets.c')
-rw-r--r-- | gtk/src/presets.c | 2 |
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; |