Expand allowed range for --fps option

This commit is contained in:
Cameron Gutman 2024-06-08 00:16:52 -05:00
parent e7a2d9f44d
commit 6397031e46

View File

@ -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");
} }
} }