]> granicus.if.org Git - handbrake/commitdiff
MacGui: Use auto-cropping for iPod High-Rez, iPhone, and PSP presets.
authorjbrjake <jb.rubin@gmail.com>
Sun, 29 Jul 2007 16:44:19 +0000 (16:44 +0000)
committerjbrjake <jb.rubin@gmail.com>
Sun, 29 Jul 2007 16:44:19 +0000 (16:44 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@759 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/Controller.mm

index a2f7513888776b291844e3c1b6d3f480e441f496..fa0f94230ec2f38310038132329ce35b5cbae391 100644 (file)
@@ -3699,6 +3699,7 @@ the user is using "Custom" settings by determining the sender*/
        [preset setObject:[NSNumber numberWithInt:0] forKey:@"PicturePAR"];
        /* Set crop settings here */
        /* The Auto Crop Matrix in the Picture Window autodetects differences in crop settings */
+       [preset setObject:[NSNumber numberWithInt:1] forKey:@"PictureAutoCrop"];
        [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureTopCrop"];
     [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureBottomCrop"];
        [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureLeftCrop"];
@@ -3908,6 +3909,7 @@ the user is using "Custom" settings by determining the sender*/
        [preset setObject:[NSNumber numberWithInt:0] forKey:@"PicturePAR"];
        /* Set crop settings here */
        /* The Auto Crop Matrix in the Picture Window autodetects differences in crop settings */
+       [preset setObject:[NSNumber numberWithInt:1] forKey:@"PictureAutoCrop"];
        [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureTopCrop"];
     [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureBottomCrop"];
        [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureLeftCrop"];
@@ -4451,6 +4453,7 @@ the user is using "Custom" settings by determining the sender*/
        [preset setObject:[NSNumber numberWithInt:0] forKey:@"PicturePAR"];
        /* Set crop settings here */
        /* The Auto Crop Matrix in the Picture Window autodetects differences in crop settings */
+       [preset setObject:[NSNumber numberWithInt:1] forKey:@"PictureAutoCrop"];
        [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureTopCrop"];
     [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureBottomCrop"];
        [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureLeftCrop"];