OSDN Git Service

LinGui: fix a problem with saving specific max-width/height to a preset.
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 1 Jan 2009 17:33:21 +0000 (17:33 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
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://localhost/HandBrake/trunk@2053 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/presets.c

index 8f38f7e..50fd618 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");