diff options
author | Damiano Galassi <[email protected]> | 2020-08-23 08:38:59 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2020-08-23 08:38:59 +0200 |
commit | cecbabdb13ca517eb061f745138cbbe46092aad8 (patch) | |
tree | 3bf78e576f6adbbe7db477ea829bbe8d245c3395 /macosx/HBVideo+UIAdditions.m | |
parent | 350ab4509e124e02cc601cb07260eb9817045836 (diff) |
libhb: improve videotoolbox detection and add support for constant quality encoding mode when available.
Diffstat (limited to 'macosx/HBVideo+UIAdditions.m')
-rw-r--r-- | macosx/HBVideo+UIAdditions.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBVideo+UIAdditions.m b/macosx/HBVideo+UIAdditions.m index 07436f03f..d2fca89b0 100644 --- a/macosx/HBVideo+UIAdditions.m +++ b/macosx/HBVideo+UIAdditions.m @@ -137,7 +137,7 @@ - (BOOL)isConstantQualitySupported { - return (self.qualityMaxValue == 0 && self.qualityMinValue == 0) == NO; + return hb_video_quality_is_supported(self.encoder); } + (NSSet<NSString *> *)keyPathsForValuesAffectingUnparseOptions |