Fix AV1 decoding hang regression on RK3588 (#15776)

This commit is contained in:
Nyanmisaka authored and GitHub committed 2025-12-13 08:27:29 -07:00
1 parent 22da5187c8
commit 035b5895b0
1 file changed
+2 -2
@@ -7039,8 +7039,8 @@ namespace MediaBrowser.Controller.MediaEncoding
if (string.Equals(videoStream.Codec, "av1", StringComparison.OrdinalIgnoreCase))
{
var accelType = GetHwaccelType(state, options, "av1", bitDepth, hwSurface);
return accelType + ((!string.IsNullOrEmpty(accelType) && isAfbcSupported) ? " -afbc rga" : string.Empty);
// there's an issue about AV1 AFBC on RK3588, disable it for now until it's fixed upstream
return GetHwaccelType(state, options, "av1", bitDepth, hwSurface);
}
}