mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-23 00:19:40 +00:00
Test all renderers before use
Every renderer except SDL had opted-in for testing due to various quirks discovered over the years, so just do away with this option and test all renderers.
This commit is contained in:
@@ -1151,15 +1151,6 @@ int D3D11VARenderer::getDecoderCapabilities()
|
||||
CAPABILITY_REFERENCE_FRAME_INVALIDATION_AV1;
|
||||
}
|
||||
|
||||
bool D3D11VARenderer::needsTestFrame()
|
||||
{
|
||||
// We can usually determine when D3D11VA will work based on which decoder GUIDs are supported,
|
||||
// however there are some strange cases (Quadro P400 + Radeon HD 5570) where something goes
|
||||
// horribly wrong and D3D11VideoDevice::CreateVideoDecoder() fails inside FFmpeg. We need to
|
||||
// catch that case before we commit to using D3D11VA.
|
||||
return true;
|
||||
}
|
||||
|
||||
IFFmpegRenderer::InitFailureReason D3D11VARenderer::getInitFailureReason()
|
||||
{
|
||||
// In the specific case where we found at least one D3D11 hardware device but none of the
|
||||
|
||||
Reference in New Issue
Block a user