mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-17 14:43:09 +00:00
Clarify encoding resolution limit comment
This commit is contained in:
parent
29ac7893d7
commit
59cae610d2
1 changed files with 5 additions and 3 deletions
|
@ -797,10 +797,12 @@ bool Session::validateLaunch(SDL_Window* testWindow)
|
||||||
emitLaunchWarning(tr("An attached gamepad has no mapping and won't be usable. Visit the Moonlight help to resolve this."));
|
emitLaunchWarning(tr("An attached gamepad has no mapping and won't be usable. Visit the Moonlight help to resolve this."));
|
||||||
}
|
}
|
||||||
|
|
||||||
// NVENC will fail to initialize when using dimensions over 4096 and H.264.
|
// NVENC will fail to initialize when any dimension exceeds 4096 using:
|
||||||
|
// - H.264 on all versions of NVENC
|
||||||
|
// - HEVC prior to Pascal
|
||||||
//
|
//
|
||||||
// However, if we aren't using Nvidia hosting software, don't assume anything
|
// However, if we aren't using Nvidia hosting software, don't assume anything about
|
||||||
// about H.264 capabilities by using HEVC Main10 support. It will likely be wrong.
|
// encoding capabilities by using HEVC Main 10 support. It will likely be wrong.
|
||||||
if ((m_StreamConfig.width > 4096 || m_StreamConfig.height > 4096) && m_Computer->isNvidiaServerSoftware) {
|
if ((m_StreamConfig.width > 4096 || m_StreamConfig.height > 4096) && m_Computer->isNvidiaServerSoftware) {
|
||||||
// Pascal added support for 8K HEVC encoding support. Maxwell 2 could encode HEVC but only up to 4K.
|
// Pascal added support for 8K HEVC encoding support. Maxwell 2 could encode HEVC but only up to 4K.
|
||||||
// We can't directly identify Pascal, but we can look for HEVC Main10 which was added in the same generation.
|
// We can't directly identify Pascal, but we can look for HEVC Main10 which was added in the same generation.
|
||||||
|
|
Loading…
Reference in a new issue