Fixed a hang that happened when trying to mux an unsupported track, and added better error reporting. Disabled some log messages.

This commit is contained in:
Damiano Galassi committed 2014-12-12 09:13:32 +01:00
1 parent 3ed5ca860a
commit c6b60dbd42
4 files changed
+42 -16

No files matched your search

-8
View File
@@ -777,14 +777,6 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
// Setup the muxer
noErr = [self.muxer setup:self.fileHandle error:outError];
if (!noErr) {
self.muxer = nil;
[self stopWriting];
return NO;
}
// Start the muxer and wait
[self.muxer work];
self.muxer = nil;
}