summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.mm
diff options
context:
space:
mode:
authordynaflash <[email protected]>2007-06-14 15:56:36 +0000
committerdynaflash <[email protected]>2007-06-14 15:56:36 +0000
commit8905d54302cd7c40328a83640b811577f66c098f (patch)
tree171023a61ad6841a5f724fba601a0fda83fff4da /macosx/Controller.mm
parent7b313a2bd42c49d61b4cac2449923c6b8dd33666 (diff)
MacGui: + 4 GB Mpeg-4 modification
- adds a preference in the preferences window under advanced to turn on the option to use 64 bit formatting. - default is unchecked, so unless the user checks this preference, they will never even see the option in the main window, and HB will ignore it all of the time. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@620 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r--macosx/Controller.mm5
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index 0addaf375..8046dabe6 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -847,7 +847,7 @@ return registrationDictionary;
/* We set the largeFileSize (64 bit formatting) variable here to allow for > 4gb files based on the format being
mpeg4 and the checkbox being checked
*Note: this will break compatibility with some target devices like iPod, etc.!!!!*/
- if ([fDstMpgLargeFileCheck state] == NSOnState)
+ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"AllowLargeFiles"] > 0 && [fDstMpgLargeFileCheck state] == NSOnState)
{
job->largeFileSize = 1;
}
@@ -1296,7 +1296,10 @@ return registrationDictionary;
/* We enable the create chapters checkbox here since we are .mp4*/
[fCreateChapterMarkers setEnabled: YES];
/* We show the Large File (64 bit formatting) checkbox since we are .mp4 */
+ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"AllowLargeFiles"] > 0)
+ {
[fDstMpgLargeFileCheck setHidden: NO];
+ }
break;
case 1:
ext = "avi";