- Patch by Rodeo. Thanks Rodeo!
- Addresses http://forum.handbrake.fr/viewtopic.php?f=4&t=13117
git-svn-id: svn://localhost/HandBrake/trunk@2943
b64f7644-9d1e-0410-96f1-
a4d463321fa5
[fAdvancedOptions setHidden:NO];
[self autoSetM4vExtension: sender];
}
-
- /* We need to set loose anamorphic as available depending on whether or not the ffmpeg encoder
- is being used as it borks up loose anamorphic .
- For convenience lets use the titleOfSelected index. Probably should revisit whether or not we want
- to use the index itself but this is easier */
+
if (videoEncoder == HB_VCODEC_FFMPEG)
{
- if (job->anamorphic.mode == 2)
- {
- job->anamorphic.mode = 0;
- }
- [fPictureController setAllowLooseAnamorphic:NO];
/* We set the iPod atom checkbox to disabled and uncheck it as its only for x264 in the mp4
container. Format is taken care of in formatPopUpChanged method by hiding and unchecking
anything other than MP4.
}
else
{
- [fPictureController setAllowLooseAnamorphic:YES];
[fDstMp4iPodFileCheck setEnabled: YES];
}
[self setupQualitySlider];
int MaxOutputWidth;
int MaxOutputHeight;
BOOL autoCrop;
- BOOL allowLooseAnamorphic;
int output_width, output_height, output_par_width, output_par_height;
int display_width;
- (BOOL) autoCrop;
- (void) setAutoCrop: (BOOL) setting;
-- (BOOL) allowLooseAnamorphic;
-- (void) setAllowLooseAnamorphic: (BOOL) setting;
-
- (IBAction)showPreviewPanel: (id)sender forTitle: (hb_title_t *)title;
- (IBAction) storageLinkChanged: (id) sender;
- (IBAction) parLinkChanged: (id) sender;
[fAnamorphicPopUp removeAllItems];
[fAnamorphicPopUp addItemWithTitle: @"None"];
[fAnamorphicPopUp addItemWithTitle: @"Strict"];
- if (allowLooseAnamorphic)
- {
[fAnamorphicPopUp addItemWithTitle: @"Loose"];
- }
[fAnamorphicPopUp addItemWithTitle: @"Custom"];
[fAnamorphicPopUp selectItemAtIndex: job->anamorphic.mode];
autoCrop = setting;
}
-- (BOOL) allowLooseAnamorphic
-{
- return allowLooseAnamorphic;
-}
-
-- (void) setAllowLooseAnamorphic: (BOOL) setting
-{
- allowLooseAnamorphic = setting;
-}
-
- (IBAction)showPreviewPanel: (id)sender forTitle: (hb_title_t *)title
{
//[self SetTitle:title];