Enable AV1 RFI on all decoders capable of HEVC RFI

This commit is contained in:
Cameron Gutman
2023-08-13 16:41:48 -05:00
parent 50255dd896
commit 1a2f1ed620
7 changed files with 15 additions and 6 deletions
@@ -59,7 +59,8 @@ bool CUDARenderer::isDirectRenderingSupported()
int CUDARenderer::getDecoderCapabilities()
{
return CAPABILITY_REFERENCE_FRAME_INVALIDATION_HEVC;
return CAPABILITY_REFERENCE_FRAME_INVALIDATION_HEVC |
CAPABILITY_REFERENCE_FRAME_INVALIDATION_AV1;
}
CUDAGLInteropHelper::CUDAGLInteropHelper(AVHWDeviceContext* context)