summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-02-27 17:09:44 +0000
committerjstebbins <[email protected]>2014-02-27 17:09:44 +0000
commit525c8a11b4930ff40a94897fc65ebea2fac7126f (patch)
tree15985895635db4747370c648d09c40f0e0404848 /gtk
parent71ccdc5d87feb446d064b6c74b1db296bf990b94 (diff)
LinGui: remove legacy preset key UsesMaxPictureSettings
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6087 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/internal_defaults.xml2
-rw-r--r--gtk/src/presets.c4
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);
}