Return NO in updateMP4FileWithAttributes:attributes:error: only if a serious error happened like a permission error or the mp4 not closing properly. Print the other errors to the log.

This commit is contained in:
Damiano Galassi committed 2014-12-14 09:23:18 +01:00
1 parent f0b349eef1
commit 017cd8d8c1
6 files changed
+155 -123

No files matched your search

+3 -2
View File
@@ -27,11 +27,12 @@
int32_t _cancelled;
}
- (instancetype)initWithDelegate:(id <MP42MuxerDelegate>)del andLogger:(id <MP42Logging>)logger;
- (instancetype)initWithFileHandle:(MP4FileHandle)fileHandle delegate:(id <MP42MuxerDelegate>)del logger:(id <MP42Logging>)logger;
- (BOOL)canAddTrack:(MP42Track *)track;
- (void)addTrack:(MP42Track *)track;
- (BOOL)setup:(MP4FileHandle)fileHandle error:(NSError **)outError;
- (BOOL)setup:(NSError **)outError;
- (void)work;
- (void)cancel;