summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordynaflash <[email protected]>2008-01-10 15:00:57 +0000
committerdynaflash <[email protected]>2008-01-10 15:00:57 +0000
commitabf39f70a236f4c87fa19a1a5064f5ba5f1e9541 (patch)
treea08687ba692c0f621a91c411ad28254f83769312 /macosx
parentbcf27d8249b6ed7d446ea5c501c0398ebd2d44ab (diff)
MacGui: Fix issue where presets were not applying their filters properly the picture preview window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1183 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/PictureController.mm10
1 files changed, 7 insertions, 3 deletions
diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm
index 8526b849a..132d3b151 100644
--- a/macosx/PictureController.mm
+++ b/macosx/PictureController.mm
@@ -115,9 +115,6 @@ static int GetAlignedSize( int size )
}
[fAnamorphicPopUp selectItemAtIndex: job->pixel_ratio];
- /* Set deinterlaces level according to the integer in the main window */
- [fDeinterlacePopUp selectItemAtIndex: fPictureFilterSettings.deinterlace];
-
/* We initially set the previous state of keep ar to on */
keepAspectRatioPreviousState = 1;
if (!autoCrop)
@@ -138,6 +135,13 @@ static int GetAlignedSize( int size )
[fCropMatrix selectCellAtRow: 0 column:0];
}
+ /* Set filters widgets according to the filters struct */
+ [fVFRCheck setState:fPictureFilterSettings.vfr];
+ [fDetelecineCheck setState:fPictureFilterSettings.detelecine];
+ [fDeinterlacePopUp selectItemAtIndex: fPictureFilterSettings.deinterlace];
+ [fDenoisePopUp selectItemAtIndex: fPictureFilterSettings.denoise];
+ [fDeblockCheck setState: fPictureFilterSettings.deblock];
+
fPicture = 0;
MaxOutputWidth = title->width - job->crop[2] - job->crop[3];
MaxOutputHeight = title->height - job->crop[0] - job->crop[1];