summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.mm
diff options
context:
space:
mode:
authordynaflash <[email protected]>2007-11-07 16:28:04 +0000
committerdynaflash <[email protected]>2007-11-07 16:28:04 +0000
commit52e53ff19c6a8ab6d69490f3104ac083dbf8860e (patch)
treefc7c778fd1d429025da187715611f7db8fb7f3da /macosx/PictureController.mm
parentbde1a6e597cf73231f2bb9894cd6a349d3a8107c (diff)
MacGui: Added Deblock to filters in Picture Preview Window
- Currently uses a checkbox that enables pp7 (default settings) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1046 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.mm')
-rw-r--r--macosx/PictureController.mm11
1 files changed, 11 insertions, 0 deletions
diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm
index 865f1c202..640479b65 100644
--- a/macosx/PictureController.mm
+++ b/macosx/PictureController.mm
@@ -306,6 +306,7 @@ static int GetAlignedSize( int size )
}
fPictureFilterSettings.denoise = [fDenoisePopUp indexOfSelectedItem];
fPictureFilterSettings.detelecine = [fDetelecineCheck state];
+ fPictureFilterSettings.deblock = [fDeblockCheck state];
job->pixel_ratio = ( [fPARCheck state] == NSOnState );
autoCrop = ( [fCropMatrix selectedRow] == 0 );
@@ -438,6 +439,16 @@ static int GetAlignedSize( int size )
fPictureFilterSettings.denoise = setting;
}
+- (int) deblock
+{
+ return fPictureFilterSettings.deblock;
+}
+
+- (void) setDeblock: (int) setting
+{
+ fPictureFilterSettings.deblock = setting;
+}
+
- (void)showPanelInWindow: (NSWindow *)fWindow forTitle: (hb_title_t *)title
{
[self SetTitle:title];