Allow streaming to match the refresh rate in unsupported mode

This commit is contained in:
Cameron Gutman committed 2018-11-20 21:47:08 -08:00
1 parent 688c4a90d9
commit e7bb146f92
2 files changed
+11 -4

No files matched your search

+1 -3
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);
}
}