ui fixes
This commit is contained in:
1 parent
5ba566ceee
commit
4983aecb4c
2 files changed
+6
-3
No files matched your search
@@ -1403,8 +1403,11 @@ static NSMutableSet* hostList;
|
|||||||
// [self.settingsViewController.framePacingModeSelector setEnabled:shouldEnableFrameQueueSettings];
|
// [self.settingsViewController.framePacingModeSelector setEnabled:shouldEnableFrameQueueSettings];
|
||||||
[self.settingsViewController.framePacingModeSelector setEnabled:!_settingsExpandedInStreamView forSegmentAtIndex:FramePacingModeOff];
|
[self.settingsViewController.framePacingModeSelector setEnabled:!_settingsExpandedInStreamView forSegmentAtIndex:FramePacingModeOff];
|
||||||
[self.settingsViewController.framePacingModeSelector setEnabled:!_settingsExpandedInStreamView forSegmentAtIndex:FramePacingModeLegacy];
|
[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.frameTimebaseSwitch setEnabled:shouldEnableFramePacing];
|
||||||
[self.settingsViewController.asyncFrameDequeueSwitch setEnabled:shouldEnableFrameQueueSettings];
|
[self.settingsViewController.asyncFrameDequeueSwitch setEnabled:shouldEnableFrameQueueSettings];
|
||||||
|
|||||||
@@ -895,7 +895,7 @@ BOOL isCustomResolution(int resolutionSelected) {
|
|||||||
|
|
||||||
self.framePacingStack.hasInfoTag = YES;
|
self.framePacingStack.hasInfoTag = YES;
|
||||||
[self addSetting:self.framePacingStack ofId:@"framePacingStack" to:videoSection];
|
[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.interpolationLevelStack.hasDynamicLabel = YES;
|
||||||
[self addSetting:self.interpolationLevelStack ofId:@"interpolationLevelStack" to:videoSection];
|
[self addSetting:self.interpolationLevelStack ofId:@"interpolationLevelStack" to:videoSection];
|
||||||
|
|||||||
Reference in new issue
Block a user