mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 23:35:55 +00:00
Remove H.264 high performance preference and enable HEVC split encode
This commit is contained in:
parent
605d52f160
commit
896b247bc0
@ -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
|
Loading…
x
Reference in New Issue
Block a user