Convert MP42FileImporter to ARC, and clean up some imports.
This commit is contained in:
13 files changed
+231
-268
No files matched your search
+9
-12
@@ -8,24 +8,21 @@
|
||||
|
||||
#import "MP42Track.h"
|
||||
#import "MP42FileImporter.h"
|
||||
#import "MP42Fifo.h"
|
||||
#import "MP42ConverterProtocol.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
typedef struct muxer_helper {
|
||||
// Input helpers
|
||||
MP42FileImporter *importer;
|
||||
id demuxer_context;
|
||||
|
||||
// Output helpers
|
||||
id <MP42ConverterProtocol> converter;
|
||||
MP42Fifo<MP42SampleBuffer *> *fifo;
|
||||
} muxer_helper;
|
||||
|
||||
@interface MP42Track (MP42TrackMuxerExtentions)
|
||||
|
||||
@property (nonatomic, readonly, nullable) muxer_helper *muxer_helper;
|
||||
- (id <MP42ConverterProtocol>)converter;
|
||||
- (void)setConverter:(id <MP42ConverterProtocol>)converter;
|
||||
|
||||
- (void)enqueue:(MP42SampleBuffer *)sample;
|
||||
- (MP42SampleBuffer *)copyNextSample;
|
||||
|
||||
- (void *)copy_muxer_helper;
|
||||
- (void *)create_muxer_helper;
|
||||
- (void)free_muxer_helper;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in new issue
Block a user