This commit is contained in:
Ali
2023-07-07 19:17:08 +04:00
parent 9732758e56
commit a732b92463
3 changed files with 48 additions and 4 deletions

View File

@@ -277,10 +277,22 @@ open class TransformImageNode: ASDisplayNode {
}
}
private class CaptureProtectedContentLayer: AVSampleBufferDisplayLayer {
override func action(forKey event: String) -> CAAction? {
public class CaptureProtectedContentLayer: AVSampleBufferDisplayLayer {
override public func action(forKey event: String) -> CAAction? {
return nullAction
}
override public init() {
super.init()
}
override public init(layer: Any) {
super.init(layer: layer)
}
required public init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
}
open class TransformImageView: UIView {