diff options
author | dynaflash <[email protected]> | 2007-12-07 18:30:19 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2007-12-07 18:30:19 +0000 |
commit | d9d88b0d8dd28b9fac27ece0461a3a09e86e0b9a (patch) | |
tree | 6568c40fc39e90dec66a0415470e053f0677e5c6 /macosx | |
parent | 7c2212afd586be25977179059bbe6870e5ab0007 (diff) |
MacGui: fix a bracket on same line screw up from the last commit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1105 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.mm | 92 |
1 files changed, 47 insertions, 45 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 37a68df18..fe608d9a3 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -3307,51 +3307,53 @@ the user is using "Custom" settings by determining the sender*/ if ([chosenPreset objectForKey:@"UsesPictureFilters"] && [[chosenPreset objectForKey:@"UsesPictureFilters"] intValue] > 0) { /* Filters */ - /* Deinterlace */ - if ([chosenPreset objectForKey:@"PictureDeinterlace"]) - { - [fPictureController setDeinterlace:[[chosenPreset objectForKey:@"PictureDeinterlace"] intValue]]; - } - else - { - [fPictureController setDeinterlace:0]; - } - /* VFR */ - if ([[chosenPreset objectForKey:@"VFR"] intValue] == 1) - { - [fPictureController setVFR:[[chosenPreset objectForKey:@"VFR"] intValue]]; - } - else - { - [fPictureController setVFR:0]; - } - /* Detelecine */ - if ([[chosenPreset objectForKey:@"PictureDetelecine"] intValue] == 1) - { - [fPictureController setDetelecine:[[chosenPreset objectForKey:@"PictureDetelecine"] intValue]]; - } - else - { - [fPictureController setDetelecine:0]; - } - /* Denoise */ - if ([chosenPreset objectForKey:@"PictureDenoise"]) - { - [fPictureController setDenoise:[[chosenPreset objectForKey:@"PictureDenoise"] intValue]]; - } - else - { - [fPictureController setDenoise:0]; - } - /* Deblock */ - if ([[chosenPreset objectForKey:@"PictureDeblock"] intValue] == 1) - { - [fPictureController setDeblock:[[chosenPreset objectForKey:@"PictureDeblock"] intValue]]; - } - else - { - [fPictureController setDeblock:0]; - } } + /* Deinterlace */ + if ([chosenPreset objectForKey:@"PictureDeinterlace"]) + { + [fPictureController setDeinterlace:[[chosenPreset objectForKey:@"PictureDeinterlace"] intValue]]; + } + else + { + [fPictureController setDeinterlace:0]; + } + /* VFR */ + if ([[chosenPreset objectForKey:@"VFR"] intValue] == 1) + { + [fPictureController setVFR:[[chosenPreset objectForKey:@"VFR"] intValue]]; + } + else + { + [fPictureController setVFR:0]; + } + /* Detelecine */ + if ([[chosenPreset objectForKey:@"PictureDetelecine"] intValue] == 1) + { + [fPictureController setDetelecine:[[chosenPreset objectForKey:@"PictureDetelecine"] intValue]]; + } + else + { + [fPictureController setDetelecine:0]; + } + /* Denoise */ + if ([chosenPreset objectForKey:@"PictureDenoise"]) + { + [fPictureController setDenoise:[[chosenPreset objectForKey:@"PictureDenoise"] intValue]]; + } + else + { + [fPictureController setDenoise:0]; + } + /* Deblock */ + if ([[chosenPreset objectForKey:@"PictureDeblock"] intValue] == 1) + { + [fPictureController setDeblock:[[chosenPreset objectForKey:@"PictureDeblock"] intValue]]; + } + else + { + [fPictureController setDeblock:0]; + } + + } [self calculatePictureSizing: NULL]; [[fPresetsActionMenu itemAtIndex:0] setEnabled: YES]; } |