From 30a5f405f519a5e3367937d503276cf0a5d9626b Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 25 Oct 2022 23:19:19 -0500 Subject: [PATCH] Enable HEVC RFI for the FFmpeg software decoder --- app/streaming/video/ffmpeg.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/streaming/video/ffmpeg.cpp b/app/streaming/video/ffmpeg.cpp index d50b0d44..b082c775 100644 --- a/app/streaming/video/ffmpeg.cpp +++ b/app/streaming/video/ffmpeg.cpp @@ -105,6 +105,9 @@ int FFmpegVideoDecoder::getDecoderCapabilities() "Encoder configured for %d slices per frame", slices); capabilities |= CAPABILITY_SLICES_PER_FRAME(slices); + + // Enable HEVC RFI when using the FFmpeg software decoder + capabilities |= CAPABILITY_REFERENCE_FRAME_INVALIDATION_HEVC; } else if (m_HwDecodeCfg == nullptr) { // We have a non-hwaccel hardware decoder. This will always