diff options
Diffstat (limited to 'macosx/HBVideo.h')
-rw-r--r-- | macosx/HBVideo.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/macosx/HBVideo.h b/macosx/HBVideo.h index f8515e5db..a8ceef808 100644 --- a/macosx/HBVideo.h +++ b/macosx/HBVideo.h @@ -11,6 +11,16 @@ NS_ASSUME_NONNULL_BEGIN +typedef NS_ENUM(NSUInteger, HBVideoQualityType) { + HBVideoQualityTypeAvgBitrate, + HBVideoQualityTypeConstantQuality, +}; + +typedef NS_ENUM(NSUInteger, HBVideoFrameRateMode) { + HBVideoFrameRateModeVFR_PFR, + HBVideoFrameRateModeCFR, +}; + extern NSString * const HBVideoChangedNotification; /** @@ -24,12 +34,12 @@ extern NSString * const HBVideoChangedNotification; @property (nonatomic, readwrite) int encoder; -@property (nonatomic, readwrite) int qualityType; +@property (nonatomic, readwrite) HBVideoQualityType qualityType; @property (nonatomic, readwrite) int avgBitrate; @property (nonatomic, readwrite) double quality; +@property (nonatomic, readwrite) HBVideoFrameRateMode frameRateMode; @property (nonatomic, readwrite) int frameRate; -@property (nonatomic, readwrite) int frameRateMode; @property (nonatomic, readwrite) BOOL twoPass; @property (nonatomic, readwrite) BOOL turboTwoPass; |