Allow higher than display refresh rate streaming with unsupported FPS option

This commit is contained in:
Cameron Gutman
2018-09-08 14:33:34 -07:00
parent 52c6455ca5
commit 64a08f0533
4 changed files with 55 additions and 19 deletions

View File

@@ -415,6 +415,10 @@ bool Session::validateLaunch()
emitLaunchWarning("Your settings selection to force software decoding may cause poor streaming performance.");
}
if (m_Preferences.unsupportedFps && m_StreamConfig.fps > 60) {
emitLaunchWarning("Using unsupported FPS options may cause stuttering or lag.");
}
if (m_StreamConfig.supportsHevc) {
bool hevcForced = m_Preferences.videoCodecConfig == StreamingPreferences::VCC_FORCE_HEVC ||
m_Preferences.videoCodecConfig == StreamingPreferences::VCC_FORCE_HEVC_HDR;