ui fixes
This commit is contained in:
@@ -1403,8 +1403,11 @@ static NSMutableSet* hostList;
|
||||
// [self.settingsViewController.framePacingModeSelector setEnabled:shouldEnableFrameQueueSettings];
|
||||
[self.settingsViewController.framePacingModeSelector setEnabled:!_settingsExpandedInStreamView forSegmentAtIndex:FramePacingModeOff];
|
||||
[self.settingsViewController.framePacingModeSelector setEnabled:!_settingsExpandedInStreamView forSegmentAtIndex:FramePacingModeLegacy];
|
||||
[self.settingsViewController.framePacingModeSelector setEnabled:_settingsViewController.framerateSelector.selectedSegmentIndex != _settingsViewController.framerateSelector.numberOfSegments-1
|
||||
|| !self.isStreaming forSegmentAtIndex:FramePacingModeInterpolation];
|
||||
|
||||
if(FrameInterpolator.deviceSupportsInterpolation){
|
||||
[self.settingsViewController.framePacingModeSelector setEnabled:_settingsViewController.framerateSelector.selectedSegmentIndex != _settingsViewController.framerateSelector.numberOfSegments-1
|
||||
|| !self.isStreaming forSegmentAtIndex:FramePacingModeInterpolation];
|
||||
}
|
||||
|
||||
// [self.settingsViewController.frameTimebaseSwitch setEnabled:shouldEnableFramePacing];
|
||||
[self.settingsViewController.asyncFrameDequeueSwitch setEnabled:shouldEnableFrameQueueSettings];
|
||||
|
||||
@@ -895,7 +895,7 @@ BOOL isCustomResolution(int resolutionSelected) {
|
||||
|
||||
self.framePacingStack.hasInfoTag = YES;
|
||||
[self addSetting:self.framePacingStack ofId:@"framePacingStack" to:videoSection];
|
||||
if(!FrameInterpolator.deviceSupportsInterpolation) [self.framerateSelector setEnabled:false forSegmentAtIndex:FramePacingModeInterpolation];
|
||||
if(!FrameInterpolator.deviceSupportsInterpolation) [self.framePacingModeSelector setEnabled:false forSegmentAtIndex:FramePacingModeInterpolation];
|
||||
|
||||
self.interpolationLevelStack.hasDynamicLabel = YES;
|
||||
[self addSetting:self.interpolationLevelStack ofId:@"interpolationLevelStack" to:videoSection];
|
||||
|
||||
Reference in New Issue
Block a user