mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-24 01:06:53 +00:00
Merge pull request #366 from MichaelMKenny/4K-120-bitrate-fix
Capped bitrate at 100Mbps.
This commit is contained in:
@@ -199,7 +199,7 @@ static const int bitrateTable[] = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// We should always be exactly on a slider position with default bitrates
|
// We should always be exactly on a slider position with default bitrates
|
||||||
_bitrate = defaultBitrate;
|
_bitrate = MIN(defaultBitrate, 100000);
|
||||||
assert(bitrateTable[[self getSliderValueForBitrate:_bitrate]] == _bitrate);
|
assert(bitrateTable[[self getSliderValueForBitrate:_bitrate]] == _bitrate);
|
||||||
[self.bitrateSlider setValue:[self getSliderValueForBitrate:_bitrate] animated:YES];
|
[self.bitrateSlider setValue:[self getSliderValueForBitrate:_bitrate] animated:YES];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user