Fix importer error handling.
This commit is contained in:
4 files changed
+4
-4
No files matched your search
@@ -16,7 +16,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface MP42BitmapSubConverter : NSObject <MP42ConverterProtocol>
|
||||
|
||||
- (instancetype)initWithTrack:(MP42SubtitleTrack *)track error:(NSError * __autoreleasing *)outError;
|
||||
- (nullable instancetype)initWithTrack:(MP42SubtitleTrack *)track error:(NSError * __autoreleasing *)outError;
|
||||
|
||||
- (void)addSample:(MP42SampleBuffer *)sample;
|
||||
- (nullable MP42SampleBuffer *)copyEncodedSample;
|
||||
|
||||
+1
-1
@@ -76,7 +76,7 @@ typedef void (^MP42FileProgressHandler)(double progress);
|
||||
*
|
||||
* @return An instance of MP42File
|
||||
*/
|
||||
- (instancetype)initWithURL:(NSURL *)URL error:(NSError * _Nullable *)error;
|
||||
- (nullable instancetype)initWithURL:(NSURL *)URL error:(NSError * _Nullable *)error;
|
||||
|
||||
/**
|
||||
* Provides the array of MP42Tracks contained by the mp4 file
|
||||
|
||||
@@ -19,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*/
|
||||
@interface MP42TextSubConverter : NSObject <MP42ConverterProtocol>
|
||||
|
||||
- (instancetype)initWithTrack:(MP42SubtitleTrack *)track error:(NSError * __autoreleasing *)outError;
|
||||
- (nullable instancetype)initWithTrack:(MP42SubtitleTrack *)track error:(NSError * __autoreleasing *)outError;
|
||||
|
||||
- (void)addSample:(MP42SampleBuffer *)sample;
|
||||
- (nullable MP42SampleBuffer *)copyEncodedSample;
|
||||
|
||||
@@ -14,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface MP42XMLReader : NSObject
|
||||
|
||||
- (instancetype)initWithURL:(NSURL *)url error:(NSError * __autoreleasing *)error;
|
||||
- (nullable instancetype)initWithURL:(NSURL *)url error:(NSError * __autoreleasing *)error;
|
||||
|
||||
@property (nonatomic, readonly) MP42Metadata *mMetadata;
|
||||
|
||||
|
||||
Reference in new issue
Block a user