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
commit 02c781b8f4
3 changed files with 4 additions and 3 deletions

View file

@ -55,7 +55,7 @@ private:
int m_DisplayHeight;
struct dxva_context m_DXVAContext;
IDirect3DSurface9* m_DecSurfaces[19];
IDirect3DSurface9* m_DecSurfaces[32];
DXVA2_ConfigPictureDecode m_Config;
IDirectXVideoDecoderService* m_DecService;
IDirectXVideoDecoder* m_Decoder;