mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 15:26:09 +00:00
Expand allowed range for --fps option
This commit is contained in:
parent
e7a2d9f44d
commit
6397031e46
@ -412,8 +412,8 @@ void StreamCommandLineParser::parse(const QStringList &args, StreamingPreference
|
|||||||
// Resolve --fps option
|
// Resolve --fps option
|
||||||
if (parser.isSet("fps")) {
|
if (parser.isSet("fps")) {
|
||||||
preferences->fps = parser.getIntOption("fps");
|
preferences->fps = parser.getIntOption("fps");
|
||||||
if (!inRange(preferences->fps, 30, 240)) {
|
if (!inRange(preferences->fps, 10, 480)) {
|
||||||
parser.showError("FPS must be in range: 30 - 240");
|
parser.showError("FPS must be in range: 10 - 480");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user