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

View File

@@ -115,6 +115,9 @@ int FFmpegVideoDecoder::getDecoderCapabilities()
// Enable HEVC RFI when using the FFmpeg software decoder
capabilities |= CAPABILITY_REFERENCE_FRAME_INVALIDATION_HEVC;
// Enable AV1 RFI when using the libdav1d software decoder
capabilities |= CAPABILITY_REFERENCE_FRAME_INVALIDATION_AV1;
}
else if (m_HwDecodeCfg == nullptr) {
// We have a non-hwaccel hardware decoder. This will always