summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-08-23 07:47:20 +0000
committerritsuka <[email protected]>2014-08-23 07:47:20 +0000
commita1d1c8b3e49708a3876fcc0d88fa3e7d435fa7cc (patch)
tree40bfa753c7c7db6e736cac90a0d9716d2069ec43 /macosx
parent54b962645c61f7b53e12a42443e49ca92c9cd3e4 (diff)
MacGui: removed the “Large file size” checkbox.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6349 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.h2
-rw-r--r--macosx/Controller.m27
-rw-r--r--macosx/English.lproj/MainMenu.xib13
3 files changed, 5 insertions, 37 deletions
diff --git a/macosx/Controller.h b/macosx/Controller.h
index a180c798d..925aaab10 100644
--- a/macosx/Controller.h
+++ b/macosx/Controller.h
@@ -123,8 +123,6 @@ extern NSString *keyTitleTag;
IBOutlet NSTextField * fDstFile2Field;
IBOutlet NSButton * fDstBrowseButton;
/* MP4 Options */
- // Creates 64 bit mp4's that allow file sizes over 4gb
- IBOutlet NSButton * fDstMp4LargeFileCheck;
// Optimizes mp4's for http
IBOutlet NSButton * fDstMp4HttpOptFileCheck;
// Creates iPod compatible mp4's (add ipod uuid atom)
diff --git a/macosx/Controller.m b/macosx/Controller.m
index 68b25b6ca..be9e3ca31 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -687,8 +687,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
fSrcChapterStartPopUp, fSrcChapterToField,
fSrcChapterEndPopUp, fSrcDuration1Field, fSrcDuration2Field,
fDstFormatField, fDstFormatPopUp, fDstFile1Field, fDstFile2Field,
- fDstBrowseButton, fSrcAngleLabel,
- fSrcAnglePopUp, fDstMp4LargeFileCheck,
+ fDstBrowseButton, fSrcAngleLabel, fSrcAnglePopUp,
fDstMp4HttpOptFileCheck, fDstMp4iPodFileCheck,
fEncodeStartStopPopUp, fSrcTimeStartEncodingField,
fSrcTimeEndEncodingField, fSrcFrameStartEncodingField,
@@ -2426,8 +2425,6 @@ fWorkingCount = 0;
*/
[queueFileJob setObject:fChapterTitlesController.chapterTitlesArray forKey:@"ChapterNames"];
- /* Allow Mpeg4 64 bit formatting +4GB file sizes */
- [queueFileJob setObject:[NSNumber numberWithInteger:[fDstMp4LargeFileCheck state]] forKey:@"Mp4LargeFile"];
/* Mux mp4 with http optimization */
[queueFileJob setObject:[NSNumber numberWithInteger:[fDstMp4HttpOptFileCheck state]] forKey:@"Mp4HttpOptimize"];
/* Add iPod uuid atom */
@@ -2775,8 +2772,6 @@ fWorkingCount = 0;
fChapterTitlesController.createChapterMarkers = [[queueToApply objectForKey:@"ChapterMarkers"] boolValue];
[fChapterTitlesController addChaptersFromQueue:[queueToApply objectForKey:@"ChapterNames"]];
- /* Allow Mpeg4 64 bit formatting +4GB file sizes */
- [fDstMp4LargeFileCheck setState:[[queueToApply objectForKey:@"Mp4LargeFile"] intValue]];
/* Mux mp4 with http optimization */
[fDstMp4HttpOptFileCheck setState:[[queueToApply objectForKey:@"Mp4HttpOptimize"] intValue]];
@@ -4427,15 +4422,10 @@ fWorkingCount = 0;
int videoContainer = (int)[[fDstFormatPopUp selectedItem] tag];
const char *ext = NULL;
- /* Initially set the large file (64 bit formatting) output checkbox to hidden */
- [fDstMp4LargeFileCheck setHidden:YES];
- [fDstMp4HttpOptFileCheck setHidden:YES];
- [fDstMp4iPodFileCheck setHidden:YES];
-
// enable chapter markers and hide muxer-specific options
- [fDstMp4LargeFileCheck setHidden:YES];
[fDstMp4HttpOptFileCheck setHidden:YES];
[fDstMp4iPodFileCheck setHidden:YES];
+
switch (videoContainer)
{
case HB_MUX_AV_MP4:
@@ -4578,12 +4568,6 @@ the user is using "Custom" settings by determining the sender*/
- (NSString*) muxerOptionsSummary
{
NSMutableString *summary = [NSMutableString stringWithString:@""];
- if ([fDstMp4LargeFileCheck isHidden] == NO &&
- [fDstMp4LargeFileCheck isEnabled] == YES &&
- [fDstMp4LargeFileCheck state] == NSOnState)
- {
- [summary appendString:@" - Large file size"];
- }
if ([fDstMp4HttpOptFileCheck isHidden] == NO &&
[fDstMp4HttpOptFileCheck isEnabled] == YES &&
[fDstMp4HttpOptFileCheck state] == NSOnState)
@@ -4720,8 +4704,6 @@ the user is using "Custom" settings by determining the sender*/
/* check to see if we have only one chapter */
[self chapterPopUpChanged:nil];
- /* Allow Mpeg4 64 bit formatting +4GB file sizes */
- [fDstMp4LargeFileCheck setState:[[chosenPreset objectForKey:@"Mp4LargeFile"] intValue]];
/* Mux mp4 with http optimization */
[fDstMp4HttpOptFileCheck setState:[[chosenPreset objectForKey:@"Mp4HttpOptimize"] intValue]];
@@ -4983,8 +4965,9 @@ the user is using "Custom" settings by determining the sender*/
[preset setObject:[fDstFormatPopUp titleOfSelectedItem] forKey:@"FileFormat"];
/* Chapter Markers fCreateChapterMarkers*/
[preset setObject:@(fChapterTitlesController.createChapterMarkers) forKey:@"ChapterMarkers"];
- /* Allow Mpeg4 64 bit formatting +4GB file sizes */
- [preset setObject:[NSNumber numberWithInteger:[fDstMp4LargeFileCheck state]] forKey:@"Mp4LargeFile"];
+ /* Allow Mpeg4 64 bit formatting +4GB file sizes
+ key kept for compatibility. */
+ [preset setObject:[NSNumber numberWithInteger:0]forKey:@"Mp4LargeFile"];
/* Mux mp4 with http optimization */
[preset setObject:[NSNumber numberWithInteger:[fDstMp4HttpOptFileCheck state]] forKey:@"Mp4HttpOptimize"];
/* Add iPod uuid atom */
diff --git a/macosx/English.lproj/MainMenu.xib b/macosx/English.lproj/MainMenu.xib
index 9341a8cdd..ca69f2378 100644
--- a/macosx/English.lproj/MainMenu.xib
+++ b/macosx/English.lproj/MainMenu.xib
@@ -357,18 +357,6 @@
<action selector="customSettingUsed:" target="240" id="4971"/>
</connections>
</button>
- <button id="2364">
- <rect key="frame" x="513" y="401" width="96" height="18"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
- <string key="toolTip">Caution: This option will likely break device compatiblity with all but the AppleTV Take 2. Checking this box enables a 64 bit mp4 file which can be over 4 GB.</string>
- <buttonCell key="cell" type="check" title="Large file size" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" inset="2" id="4926">
- <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
- <font key="font" metaFont="smallSystem"/>
- </buttonCell>
- <connections>
- <action selector="customSettingUsed:" target="240" id="2366"/>
- </connections>
- </button>
<button toolTip="This option adds an atom to the MP4 file which allows older iPods (5th Generation classic style) to play the file." id="4967">
<rect key="frame" x="388" y="401" width="108" height="18"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
@@ -1085,7 +1073,6 @@ DQ
<outlet property="fDstFormatField" destination="1556" id="1583"/>
<outlet property="fDstFormatPopUp" destination="1557" id="1584"/>
<outlet property="fDstMp4HttpOptFileCheck" destination="4579" id="4581"/>
- <outlet property="fDstMp4LargeFileCheck" destination="2364" id="4578"/>
<outlet property="fDstMp4iPodFileCheck" destination="4967" id="4969"/>
<outlet property="fEncodeStartStopPopUp" destination="5513" id="5527"/>
<outlet property="fMainTabView" destination="1474" id="XMU-Vi-8QM"/>