Enable HDR as an experimental option

This commit is contained in:
Cameron Gutman
2019-12-30 18:05:43 -06:00
parent bee622bcad
commit 1313c7b3bf
2 changed files with 12 additions and 9 deletions

View File

@@ -482,7 +482,13 @@ bool Session::validateLaunch(SDL_Window* testWindow)
QStringList warningList;
if (m_Preferences->videoDecoderSelection == StreamingPreferences::VDS_FORCE_SOFTWARE) {
emitLaunchWarning("Your settings selection to force software decoding may cause poor streaming performance.");
if (m_Preferences->videoCodecConfig == StreamingPreferences::VCC_FORCE_HEVC_HDR) {
emitLaunchWarning("HDR is not supported with software decoding.");
m_StreamConfig.enableHdr = false;
}
else {
emitLaunchWarning("Your settings selection to force software decoding may cause poor streaming performance.");
}
}
if (m_Preferences->unsupportedFps && m_StreamConfig.fps > 60) {