Files
MP42Foundation/MP42/MP42TextSubConverter.h
T

29 lines
604 B
Objective-C

//
// 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