Add experimental option to unlock bitrate to 500 Mbps
Fixes #1375 Fixes #1343 Closes #1377
This commit is contained in:
parent
7da085480c
commit
f3a75e8e76
4 changed files with 26 additions and 3 deletions
|
|
@ -421,8 +421,8 @@ void StreamCommandLineParser::parse(const QStringList &args, StreamingPreference
|
|||
// Resolve --bitrate option
|
||||
if (parser.isSet("bitrate")) {
|
||||
preferences->bitrateKbps = parser.getIntOption("bitrate");
|
||||
if (!inRange(preferences->bitrateKbps, 500, 150000)) {
|
||||
parser.showError("Bitrate must be in range: 500 - 150000");
|
||||
if (!inRange(preferences->bitrateKbps, 500, 500000)) {
|
||||
parser.showError("Bitrate must be in range: 500 - 500000");
|
||||
}
|
||||
} else if (displaySet || parser.isSet("fps")) {
|
||||
preferences->bitrateKbps = preferences->getDefaultBitrate(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue