diff options
author | jbrjake <[email protected]> | 2008-05-29 17:23:39 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2008-05-29 17:23:39 +0000 |
commit | f01949e37793557dfffe3d220f8c684a34a019a7 (patch) | |
tree | 124f1e6aca271b4f2b289f0d05c969d3f77a5f8d /macosx/PictureController.mm | |
parent | 68799d8e3d4858f3cfe8a3c4227a7823dbafa39c (diff) |
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1471 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.mm')
-rw-r--r-- | macosx/PictureController.mm | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm index 6b89f9832..a4785abee 100644 --- a/macosx/PictureController.mm +++ b/macosx/PictureController.mm @@ -147,6 +147,14 @@ are maintained across different sources */ [fDenoisePopUp addItemWithTitle: @"Strong"]; /* Set denoises level according to the integer in the main window */ [fDenoisePopUp selectItemAtIndex: fPictureFilterSettings.denoise]; + + /* we use a popup to show the decomb settings */ + [fDecombPopUp removeAllItems]; + [fDecombPopUp addItemWithTitle: @"None"]; + [fDecombPopUp addItemWithTitle: @"Default"]; + [fDecombPopUp addItemWithTitle: @"Custom"]; + /* Set denoises level according to the integer in the main window */ + [fDecombPopUp selectItemAtIndex: fPictureFilterSettings.decomb]; } @@ -313,8 +321,9 @@ are maintained across different sources */ } fPictureFilterSettings.detelecine = [fDetelecineCheck state]; fPictureFilterSettings.deblock = [fDeblockCheck state]; - //job->pixel_ratio = ( [fPARCheck state] == NSOnState ); + fPictureFilterSettings.decomb = [fDecombPopUp indexOfSelectedItem]; + autoCrop = ( [fCropMatrix selectedRow] == 0 ); [fCropTopStepper setEnabled: !autoCrop]; [fCropBottomStepper setEnabled: !autoCrop]; @@ -460,7 +469,14 @@ are maintained across different sources */ - (void) setDeinterlace: (int) setting { fPictureFilterSettings.deinterlace = setting; } +- (int) decomb +{ + return fPictureFilterSettings.decomb; +} +- (void) setDecomb: (int) setting { + fPictureFilterSettings.decomb = setting; +} - (int) denoise { return fPictureFilterSettings.denoise; |