Convert MP42FileImporter to ARC, and clean up some imports.

This commit is contained in:
Damiano Galassi committed 2017-09-30 11:11:31 +02:00
1 parent 7a8cae556e
commit 972ead6f0b
13 files changed
+231 -268

No files matched your search

+9 -12
View File
@@ -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