Allow software decoding if YUV444 is selected rather than falling back to YUV420
This commit is contained in:
parent
9df65cb814
commit
e01c42153c
1 changed files with 7 additions and 1 deletions
|
|
@ -1004,7 +1004,13 @@ bool Session::validateLaunch(SDL_Window* testWindow)
|
|||
m_StreamConfig.width,
|
||||
m_StreamConfig.height,
|
||||
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() &&
|
||||
!(m_SupportedVideoFormats.front() & VIDEO_FORMAT_MASK_YUV444)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue