Expand allowed range for --fps option
This commit is contained in:
parent
e7a2d9f44d
commit
6397031e46
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue