]> granicus.if.org Git - handbrake/commitdiff
LinGui: fix a problem with saving specific max-width/height to a preset.
authorjstebbins <jstebbins.hb@gmail.com>
Thu, 1 Jan 2009 17:33:21 +0000 (17:33 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Thu, 1 Jan 2009 17:33:21 +0000 (17:33 +0000)
Legacy UsesMaxPictureSettings tag didn't get converted properly when
new preset is based on an old preset that used it.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2053 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/presets.c

index 8f38f7ea10671f5f0f1bd3b5d5b7461596d7572f..50fd61801d8610c097110021eb1888701d22b22a 100644 (file)
@@ -2287,6 +2287,7 @@ export_xlat_preset(GValue *dict)
                ghb_dict_insert(dict, g_strdup("VideoQualityType"), 
                                                ghb_int_value_new(2));
        }
+       ghb_dict_remove(dict, "UsesMaxPictureSettings");
        ghb_dict_remove(dict, "autoscale");
        ghb_dict_remove(dict, "anamorphic");
        ghb_dict_remove(dict, "vquality_type_target");