mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Fix animation cache
This commit is contained in:
@@ -45,7 +45,7 @@ public func cacheVideoAnimation(path: String, width: Int, height: Int, writer: A
|
||||
}
|
||||
}
|
||||
return frameDuration
|
||||
}, proposedWidth: frame.width, proposedHeight: frame.height, insertKeyframe: true)
|
||||
}, proposedWidth: frame.width, proposedHeight: frame.height, insertKeyframe: false)
|
||||
|
||||
if firstFrameOnly {
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user