AV1 handling

This commit is contained in:
Isaac
2024-11-19 19:42:18 +04:00
parent 7fb53dbd79
commit e3e331c2cd
5 changed files with 19 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ final class FFMpegMediaDataReader: MediaDataReader {
if self.isVideo {
var passthroughDecoder = true
if codecName == "av1" && !isHardwareAv1Supported {
if (codecName == "av1" || codecName == "av01") && !isHardwareAv1Supported {
passthroughDecoder = false
}
let videoSource = SoftwareVideoReader(path: filePath, hintVP9: false, passthroughDecoder: passthroughDecoder)