Capped bitrate at 100Mbps.
Choosing 4K 120Hz was causing an assert/crash.
This commit is contained in:
parent
797fa0f492
commit
f92544c7d2
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ static const int bitrateTable[] = {
|
|||
}
|
||||
|
||||
// We should always be exactly on a slider position with default bitrates
|
||||
_bitrate = defaultBitrate;
|
||||
_bitrate = MIN(defaultBitrate, 100000);
|
||||
assert(bitrateTable[[self getSliderValueForBitrate:_bitrate]] == _bitrate);
|
||||
[self.bitrateSlider setValue:[self getSliderValueForBitrate:_bitrate] animated:YES];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue