diff options
Diffstat (limited to 'gtk/src')
-rw-r--r-- | gtk/src/internal_defaults.xml | 2 | ||||
-rw-r--r-- | gtk/src/presets.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/gtk/src/internal_defaults.xml b/gtk/src/internal_defaults.xml index 9a998bbb8..a126b8373 100644 --- a/gtk/src/internal_defaults.xml +++ b/gtk/src/internal_defaults.xml @@ -39,8 +39,6 @@ <integer>1</integer> <key>autoscale</key> <true /> - <key>UsesMaxPictureSettings</key> - <false /> <key>dest_dir</key> <string></string> <key>dest_file</key> diff --git a/gtk/src/presets.c b/gtk/src/presets.c index 2862721b1..6699392a3 100644 --- a/gtk/src/presets.c +++ b/gtk/src/presets.c @@ -2592,16 +2592,14 @@ import_xlat_preset(GValue *user_preset) ghb_settings_set_value(dict, "scale_width", ghb_settings_get_value(dict, "PictureWidth")); - gboolean uses_max; gint uses_pic; gint vqtype; - uses_max = ghb_settings_get_boolean(dict, "UsesMaxPictureSettings"); uses_pic = ghb_settings_get_int(dict, "UsesPictureSettings"); vqtype = ghb_settings_get_int(dict, "VideoQualityType"); // "Use max" or "strict anamorphic" imply autoscale - if (uses_max || uses_pic == 2) + if (uses_pic == 2) { ghb_settings_set_boolean(dict, "autoscale", TRUE); } |