Allow streaming to match the refresh rate in unsupported mode

This commit is contained in:
Cameron Gutman
2018-11-20 21:47:08 -08:00
parent 688c4a90d9
commit e7bb146f92
2 changed files with 11 additions and 4 deletions

View File

@@ -136,9 +136,7 @@ int StreamingPreferences::getMaximumStreamingFrameRate()
}
}
// Cap the frame rate at 120 FPS. Past this, the encoders start
// to max out and drop frames.
maxFrameRate = qMax(maxFrameRate, qMin(120, bestMode.refresh_rate));
maxFrameRate = qMax(maxFrameRate, bestMode.refresh_rate);
}
}