Revert "Increase the number of decoder surfaces for DXVA2/D3D11VA"

This reverts commit 02c781b8f4.
This commit is contained in:
Cameron Gutman
2022-10-15 14:32:12 -05:00
parent 6771877a84
commit 9e4337babf
3 changed files with 3 additions and 4 deletions

View File

@@ -458,8 +458,7 @@ bool D3D11VARenderer::initialize(PDECODER_PARAMETERS params)
framesContext->width = FFALIGN(params->width, m_TextureAlignment);
framesContext->height = FFALIGN(params->height, m_TextureAlignment);
// We can have up to 16 reference frames plus a working surface plus the maximum
// number of frames in our various pacing and rendering queues.
// We can have up to 16 reference frames plus a working surface
framesContext->initial_pool_size = DECODER_BUFFER_POOL_SIZE;
AVD3D11VAFramesContext* d3d11vaFramesContext = (AVD3D11VAFramesContext*)framesContext->hwctx;