Remove H.264 high performance preference and enable HEVC split encode

This commit is contained in:
Cameron Gutman 2018-09-22 20:27:02 -07:00
parent 605d52f160
commit 896b247bc0
2 changed files with 1 additions and 11 deletions

View File

@ -354,16 +354,6 @@ void Session::initialize()
m_StreamConfig.width,
m_StreamConfig.height,
m_StreamConfig.fps);
// Oddly enough, the H.264 encoder on my GTX 1080 is actually more
// performant than the HEVC encoder (especially because split frame encode
// is disabled for HEVC by moonlight-common-c). Use H.264 for 1440p 100 FPS and above.
if (m_StreamConfig.width * m_StreamConfig.height * m_StreamConfig.fps >= 2560 * 1440 * 100) {
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
"Preferring H.264 for higher performance");
m_StreamConfig.supportsHevc = false;
}
m_StreamConfig.enableHdr = false;
break;
case StreamingPreferences::VCC_FORCE_H264:

@ -1 +1 @@
Subproject commit 718d6a4b28a209902848c8678207ab6a48474a63
Subproject commit b2ebba2167a204808418f638d2066066d73a35d7