Only avoid HEVC on GFE 3.10 and lower on macOS

This commit is contained in:
Cameron Gutman 2018-10-14 11:28:52 -07:00
parent 9a807a0685
commit fd63aad3b8

View file

@ -350,6 +350,7 @@ void Session::initialize()
m_StreamConfig.width,
m_StreamConfig.height,
m_StreamConfig.fps);
#ifdef Q_OS_DARWIN
{
// Prior to GFE 3.11, GFE did not allow us to constrain
// the number of reference frames, so we have to fixup the SPS
@ -364,6 +365,7 @@ void Session::initialize()
m_StreamConfig.supportsHevc = false;
}
}
#endif
m_StreamConfig.enableHdr = false;
break;
case StreamingPreferences::VCC_FORCE_H264: