Increase the number of decoder surfaces for DXVA2/D3D11VA

We forgot to take into account frames buffered within Moonlight itself
This commit is contained in:
Cameron Gutman
2022-10-14 21:20:35 -05:00
parent 453fe6aea0
commit 02c781b8f4
3 changed files with 4 additions and 3 deletions
@@ -60,7 +60,7 @@ private:
ID3D11PixelShader* m_VideoBt2020LimPixelShader;
ID3D11Buffer* m_VideoVertexBuffer;
#define DECODER_BUFFER_POOL_SIZE 17
#define DECODER_BUFFER_POOL_SIZE 32
ID3D11ShaderResourceView* m_VideoTextureResourceViews[DECODER_BUFFER_POOL_SIZE][2];
SDL_SpinLock m_OverlayLock;