Skip to content

Commit

Permalink
Enable HEVC RFI for the FFmpeg software decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
cgutman committed Oct 26, 2022
1 parent bad1c96 commit 30a5f40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/streaming/video/ffmpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30a5f40

Please sign in to comment.