Simplify the muxer cancel flow, now it just cancels the file importers and drain the remainings fifo.

This commit is contained in:
Damiano Galassi committed 2016-07-25 10:25:16 +02:00
1 parent 40de19c125
commit ccf675cefe
3 files changed
+32 -37

No files matched your search

+1 -10
View File
@@ -18,16 +18,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)progressStatus:(double)progress;
@end
@interface MP42Muxer : NSObject {
@private
MP4FileHandle _fileHandle;
id <MP42MuxerDelegate> _delegate;
id <MP42Logging> _logger;
NSMutableArray<MP42Track *> *_workingTracks;
int32_t _cancelled;
}
@interface MP42Muxer : NSObject
- (instancetype)initWithFileHandle:(MP4FileHandle)fileHandle delegate:(id <MP42MuxerDelegate>)del logger:(id <MP42Logging>)logger;