]> granicus.if.org Git - handbrake/commitdiff
MacGui: remove legacy preset key UsesMaxPictureSettings.
authorritsuka <damiog@gmail.com>
Sun, 23 Nov 2014 13:21:16 +0000 (13:21 +0000)
committerritsuka <damiog@gmail.com>
Sun, 23 Nov 2014 13:21:16 +0000 (13:21 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6542 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/Controller.m

index fb9888796a7bf9d1c8c11a86a402f2506a1f95b8..9bc89cb4aaf91dcc1d14797fa9b4993085b7690e 100644 (file)
@@ -2518,8 +2518,6 @@ fWorkingCount = 0;
     [fVideoController prepareVideoForQueueFileJob:queueFileJob];
 
        /* Picture Sizing */
-       /* Use Max Picture settings for whatever the dvd is.*/
-       [queueFileJob setObject:[NSNumber numberWithInt:0] forKey:@"UsesMaxPictureSettings"];
        [queueFileJob setObject:[NSNumber numberWithInt:fTitle->job->width] forKey:@"PictureWidth"];
        [queueFileJob setObject:[NSNumber numberWithInt:fTitle->job->height] forKey:@"PictureHeight"];
        [queueFileJob setObject:[NSNumber numberWithInt:fTitle->job->anamorphic.keep_display_aspect] forKey:@"PictureKeepRatio"];
@@ -4838,8 +4836,7 @@ the user is using "Custom" settings by determining the sender*/
              * If not 2 it must be 1 here which means "Use the picture
              * size specified in the preset"
              */
-            if ([[chosenPreset objectForKey:@"UsesPictureSettings"]    intValue] != 2 &&
-                [[chosenPreset objectForKey:@"UsesMaxPictureSettings"] intValue] != 1)
+            if ([[chosenPreset objectForKey:@"UsesPictureSettings"] intValue] != 2)
             {
                 /*
                  * if the preset specifies neither max. width nor height