mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 15:26:09 +00:00
Allow software decoding if YUV444 is selected rather than falling back to YUV420
This commit is contained in:
parent
9df65cb814
commit
e01c42153c
@ -1004,7 +1004,13 @@ bool Session::validateLaunch(SDL_Window* testWindow)
|
|||||||
m_StreamConfig.width,
|
m_StreamConfig.width,
|
||||||
m_StreamConfig.height,
|
m_StreamConfig.height,
|
||||||
m_StreamConfig.fps)) {
|
m_StreamConfig.fps)) {
|
||||||
m_SupportedVideoFormats.removeFirst();
|
if (m_Preferences->videoDecoderSelection == StreamingPreferences::VDS_FORCE_HARDWARE) {
|
||||||
|
m_SupportedVideoFormats.removeFirst();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
emitLaunchWarning(tr("Using software decoding due to your selection to force YUV 4:4:4 without GPU support. This may cause poor streaming performance."));
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!m_SupportedVideoFormats.isEmpty() &&
|
if (!m_SupportedVideoFormats.isEmpty() &&
|
||||||
!(m_SupportedVideoFormats.front() & VIDEO_FORMAT_MASK_YUV444)) {
|
!(m_SupportedVideoFormats.front() & VIDEO_FORMAT_MASK_YUV444)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user