Enable HEVC RFI for CUDA, VAAPI, and VDPAU decoders

This commit is contained in:
Cameron Gutman
2022-10-05 18:47:43 -05:00
parent a1694ab951
commit 413ef42a34
6 changed files with 18 additions and 0 deletions

View File

@@ -477,6 +477,11 @@ int VAAPIRenderer::getDecoderColorspace()
return COLORSPACE_REC_601;
}
int VAAPIRenderer::getDecoderCapabilities()
{
return CAPABILITY_REFERENCE_FRAME_INVALIDATION_HEVC;
}
void VAAPIRenderer::notifyOverlayUpdated(Overlay::OverlayType type)
{
AVHWDeviceContext* deviceContext = (AVHWDeviceContext*)m_HwContext->data;