r1426 - trunk/Tasks/EncoderTasks

1 view
Skip to first unread message

noti...@svn.sbooth.org

unread,
Sep 25, 2009, 11:35:56 PM9/25/09
to max-c...@googlegroups.com
Author: stephen_booth
Date: 2009-09-25 20:35:55 -0700 (Fri, 25 Sep 2009)
New Revision: 1426

Modified:
trunk/Tasks/EncoderTasks/CoreAudioEncoderTask.mm
Log:
Optimize MP4 files after encoding and tagging


Modified: trunk/Tasks/EncoderTasks/CoreAudioEncoderTask.mm
===================================================================
--- trunk/Tasks/EncoderTasks/CoreAudioEncoderTask.mm 2009-09-18 04:47:28 UTC (rev 1425)
+++ trunk/Tasks/EncoderTasks/CoreAudioEncoderTask.mm 2009-09-26 03:35:55 UTC (rev 1426)
@@ -380,7 +380,7 @@
MP4TagsStore(tags, mp4FileHandle);
MP4TagsFree(tags);
MP4Close(mp4FileHandle);
-#if 0
+
// Optimize the atoms so the MP4 files will play on shared iTunes libraries
// mp4v2 creates a temp file in ., so use a custom file and manually rename it
tempFilename = generateTemporaryFilename([[[self taskInfo] settings] objectForKey:@"temporaryDirectory"], [self fileExtension]);
@@ -401,7 +401,6 @@
else {
[[LogController sharedController] logMessage:[NSString stringWithFormat:NSLocalizedStringFromTable(@"Unable to optimize file: %@", @"General", @""), [[NSFileManager defaultManager] displayNameAtPath:[self outputFilename]]]];
}
-#endif
}

-(void) writeAIFFTags

Reply all
Reply to author
Forward
0 new messages