Always test before a commit. ehm.
This commit is contained in:
1 parent
8ce6bd1931
commit
da474728fa
1 file changed
+4
-4
+4
-4
@@ -710,6 +710,10 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
|
|||||||
- (BOOL)updateMP4FileWithAttributes:(NSDictionary *)attributes error:(NSError **)outError {
|
- (BOOL)updateMP4FileWithAttributes:(NSDictionary *)attributes error:(NSError **)outError {
|
||||||
BOOL noErr = YES;
|
BOOL noErr = YES;
|
||||||
|
|
||||||
|
// Organize the alternate groups
|
||||||
|
if ([[attributes valueForKey:MP42OrganizeAlternateGroups] boolValue])
|
||||||
|
[self organizeAlternateGroups];
|
||||||
|
|
||||||
// Open the mp4 file
|
// Open the mp4 file
|
||||||
if (![self startWriting]) {
|
if (![self startWriting]) {
|
||||||
if (outError)
|
if (outError)
|
||||||
@@ -717,10 +721,6 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
|
|||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Organize the alternate groups
|
|
||||||
if ([[attributes valueForKey:MP42OrganizeAlternateGroups] boolValue])
|
|
||||||
[self organizeAlternateGroups];
|
|
||||||
|
|
||||||
// Delete tracks
|
// Delete tracks
|
||||||
for (MP42Track *track in _tracksToBeDeleted)
|
for (MP42Track *track in _tracksToBeDeleted)
|
||||||
[self removeMuxedTrack:track];
|
[self removeMuxedTrack:track];
|
||||||
|
|||||||
Reference in new issue
Block a user