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:
parent
453fe6aea0
commit
02c781b8f4
3 changed files with 4 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue