Fix AV1 decoding hang regression on RK3588 (#15776)

This commit is contained in:
Nyanmisaka
2025-12-13 23:27:29 +08:00
committed by GitHub
parent 22da5187c8
commit 035b5895b0

View File

@@ -7039,8 +7039,8 @@ namespace MediaBrowser.Controller.MediaEncoding
if (string.Equals(videoStream.Codec, "av1", StringComparison.OrdinalIgnoreCase)) if (string.Equals(videoStream.Codec, "av1", StringComparison.OrdinalIgnoreCase))
{ {
var accelType = GetHwaccelType(state, options, "av1", bitDepth, hwSurface); // there's an issue about AV1 AFBC on RK3588, disable it for now until it's fixed upstream
return accelType + ((!string.IsNullOrEmpty(accelType) && isAfbcSupported) ? " -afbc rga" : string.Empty); return GetHwaccelType(state, options, "av1", bitDepth, hwSurface);
} }
} }