Add a new SSA -> Text converter.
This commit is contained in:
11 files changed
+562
-160
No files matched your search
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// MP42TextSubConverter.h
|
||||
// MP42Foundation
|
||||
//
|
||||
// Created by Damiano Galassi on 02/10/2017.
|
||||
// Copyright © 2017 Damiano Galassi. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "MP42ConverterProtocol.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class MP42SampleBuffer;
|
||||
@class MP42SubtitleTrack;
|
||||
|
||||
@interface MP42TextSubConverter : NSObject <MP42ConverterProtocol>
|
||||
|
||||
- (instancetype)initWithTrack:(MP42SubtitleTrack *)track error:(NSError **)outError;
|
||||
|
||||
- (void)addSample:(MP42SampleBuffer *)sample;
|
||||
- (nullable MP42SampleBuffer *)copyEncodedSample;
|
||||
|
||||
- (void)cancel;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in new issue
Block a user