mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
AV1 handling
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user