Add 4K resolution option. Fixes #364
This commit is contained in:
parent
ff52adf4f8
commit
797fa0f492
3 changed files with 6 additions and 1 deletions
|
|
@ -134,6 +134,9 @@ static const int bitrateTable[] = {
|
|||
case 1080:
|
||||
resolution = 2;
|
||||
break;
|
||||
case 2160:
|
||||
resolution = 3;
|
||||
break;
|
||||
}
|
||||
|
||||
// Only show the 120 FPS option if we have a > 60-ish Hz display
|
||||
|
|
@ -228,7 +231,7 @@ static const int bitrateTable[] = {
|
|||
}
|
||||
|
||||
- (NSInteger) getChosenStreamHeight {
|
||||
const int resolutionTable[] = { 360, 720, 1080 };
|
||||
const int resolutionTable[] = { 360, 720, 1080, 2160 };
|
||||
return resolutionTable[[self.resolutionSelector selectedSegmentIndex]];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue