summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.mm
diff options
context:
space:
mode:
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";