diff options
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBVideoController.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/macosx/HBVideoController.m b/macosx/HBVideoController.m index ef51a5a68..eeb575ce1 100644 --- a/macosx/HBVideoController.m +++ b/macosx/HBVideoController.m @@ -78,6 +78,7 @@ static void *HBVideoControllerContext = &HBVideoControllerContext; // Observer a bunch of HBVideo properties to update the UI. [self addObserver:self forKeyPath:@"video.encoder" options:NSKeyValueObservingOptionInitial context:HBVideoControllerContext]; [self addObserver:self forKeyPath:@"video.frameRate" options:NSKeyValueObservingOptionInitial context:HBVideoControllerContext]; + [self addObserver:self forKeyPath:@"video.quality" options:NSKeyValueObservingOptionInitial context:HBVideoControllerContext]; [self addObserver:self forKeyPath:@"video.unparseOptions" options:NSKeyValueObservingOptionInitial context:HBVideoControllerContext]; [self addObserver:self forKeyPath:@"video.advancedOptions" options:NSKeyValueObservingOptionInitial context:HBVideoControllerContext]; } @@ -126,6 +127,10 @@ static void *HBVideoControllerContext = &HBVideoControllerContext; [fFramerateVfrPfrCell setTitle:NSLocalizedString(@"Peak Framerate (VFR)", nil)]; } } + else if ([keyPath isEqualToString:@"video.quality"]) + { + fVidQualitySlider.accessibilityValue = [NSString stringWithFormat:@"%@ %.2f", self.video.constantQualityLabel, self.video.quality]; + } else if ([keyPath isEqualToString:@"video.unparseOptions"]) { if (self.video.encoder & HB_VCODEC_X264_MASK) |