mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 14:40:56 +00:00
Enable HEVC RFI for the FFmpeg software decoder
This commit is contained in:
@@ -105,6 +105,9 @@ int FFmpegVideoDecoder::getDecoderCapabilities()
|
|||||||
"Encoder configured for %d slices per frame",
|
"Encoder configured for %d slices per frame",
|
||||||
slices);
|
slices);
|
||||||
capabilities |= CAPABILITY_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) {
|
else if (m_HwDecodeCfg == nullptr) {
|
||||||
// We have a non-hwaccel hardware decoder. This will always
|
// We have a non-hwaccel hardware decoder. This will always
|
||||||
|
|||||||
Reference in New Issue
Block a user