diff options
author | Damiano Galassi <[email protected]> | 2016-03-14 09:50:42 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-03-14 09:50:50 +0100 |
commit | d961c289a20d9e2e84fd8c763baa1c6abdb4b414 (patch) | |
tree | 0a39d5d4208cf3bf9a1e5e6d137d661a2296725d /macosx/HBVideo.h | |
parent | ee4ae6d3a0aa6d06b7a5aedec7e88570c868b8a8 (diff) |
MacGui: added some enum to HBJob model to make things nicer in swift, plus two methods to convert from iso code to english language.
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; |