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:
1 parent
3ed5ca860a
commit
c6b60dbd42
4 files changed
+42
-16
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user