mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Fix video start callback
This commit is contained in:
@@ -453,7 +453,7 @@ private final class NativeVideoContentNode: ASDisplayNode, UniversalVideoContent
|
||||
|
||||
super.init()
|
||||
|
||||
/*var didProcessFramesToDisplay = false
|
||||
var didProcessFramesToDisplay = false
|
||||
self.playerNode.isHidden = true
|
||||
self.playerNode.hasSentFramesToDisplay = { [weak self] in
|
||||
guard let self, !didProcessFramesToDisplay else {
|
||||
@@ -462,7 +462,7 @@ private final class NativeVideoContentNode: ASDisplayNode, UniversalVideoContent
|
||||
didProcessFramesToDisplay = true
|
||||
self.playerNode.isHidden = false
|
||||
self.hasSentFramesToDisplay?()
|
||||
}*/
|
||||
}
|
||||
|
||||
if let dimensions = hintDimensions {
|
||||
self.dimensions = dimensions
|
||||
|
||||
Reference in New Issue
Block a user