summaryrefslogtreecommitdiffstats
path: root/macosx/HBVideo+UIAdditions.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBVideo+UIAdditions.m')
-rw-r--r--macosx/HBVideo+UIAdditions.m15
1 files changed, 1 insertions, 14 deletions
diff --git a/macosx/HBVideo+UIAdditions.m b/macosx/HBVideo+UIAdditions.m
index f330e3526..e23c1ab72 100644
--- a/macosx/HBVideo+UIAdditions.m
+++ b/macosx/HBVideo+UIAdditions.m
@@ -111,20 +111,7 @@
- (NSString *)constantQualityLabel
{
- if ((self.encoder & HB_VCODEC_X264_MASK) ||
- (self.encoder & HB_VCODEC_X265_MASK))
- {
- return @"RF:";
- }
- else if (self.encoder == HB_VCODEC_FFMPEG_VP8 ||
- self.encoder == HB_VCODEC_FFMPEG_VP9)
- {
- return @"CQ:";
- }
- else
- {
- return @"QP:";
- }
+ return @(hb_video_quality_get_name(self.encoder));
}
+ (NSSet<NSString *> *)keyPathsForValuesAffectingUnparseOptions