summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.h
diff options
context:
space:
mode:
authordynaflash <[email protected]>2008-01-03 19:11:26 +0000
committerdynaflash <[email protected]>2008-01-03 19:11:26 +0000
commitaaa9d4d352cd79964f6d9b2224d7fd99c4c1ce9e (patch)
tree02c9a73b283c12780231b2f3858ed6158eda49c2 /macosx/PictureController.h
parent8a1ca7778958645f470d5aefa82a9968eb511657 (diff)
MacGui: Loose Anamorphic initial implementation
- Changes the PAR checkbox to an anamorphic NSPopUp Button with "None", "Strict", and "Loose". - Sanity checks against the ffmpeg encoder, until that gets fixed. - removed six unneeded outlets for picture sizing in Controller.mm. - Previous presets will gracefully degrade to us "Strict" if anamorphic is specified. - I know about the bug where the picture window changes size on the first width drop when resizing Loose Anamorphic, so dont ask ;) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1161 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.h')
-rw-r--r--macosx/PictureController.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/macosx/PictureController.h b/macosx/PictureController.h
index b15eedb6d..a418ba40c 100644
--- a/macosx/PictureController.h
+++ b/macosx/PictureController.h
@@ -44,7 +44,7 @@
IBOutlet NSButton * fVFRCheck;
IBOutlet NSButton * fDeblockCheck;
IBOutlet NSPopUpButton * fDenoisePopUp;
- IBOutlet NSButton * fPARCheck;
+ IBOutlet NSPopUpButton * fAnamorphicPopUp;
IBOutlet NSButton * fEffectsCheck;
IBOutlet NSButton * fPrevButton;
IBOutlet NSButton * fNextButton;
@@ -53,7 +53,9 @@
int MaxOutputWidth;
int MaxOutputHeight;
BOOL autoCrop;
-
+ BOOL allowLooseAnamorphic;
+ int output_width, output_height, output_par_width, output_par_height;
+ int display_width;
/* used to track the previous state of the keep aspect
ratio checkbox when turning anamorphic on, so it can be
returned to the previous state when anamorphic is turned
@@ -85,6 +87,9 @@
- (BOOL) autoCrop;
- (void) setAutoCrop: (BOOL) setting;
+- (BOOL) allowLooseAnamorphic;
+- (void) setAllowLooseAnamorphic: (BOOL) setting;
+
- (int) detelecine;
- (void) setDetelecine: (int) setting;
- (int) vfr;