|
@@ -158,6 +158,9 @@ public class PQGPUImagePlayerView: UIView {
|
|
|
view.delegate = self
|
|
|
let tap = UITapGestureRecognizer(target: self, action: #selector(RenderViewOnclick))
|
|
|
view.addGestureRecognizer(tap)
|
|
|
+
|
|
|
+ view.backgroundRenderColor = Color.init(red: Float(PQBFConfig.shared.styleBackGroundColor.rgbaf[0]), green: Float(PQBFConfig.shared.styleBackGroundColor.rgbaf[1]), blue: Float(PQBFConfig.shared.styleBackGroundColor.rgbaf[2]))
|
|
|
+
|
|
|
return view
|
|
|
}()
|
|
|
|
|
@@ -225,6 +228,7 @@ public class PQGPUImagePlayerView: UIView {
|
|
|
override public init(frame: CGRect) {
|
|
|
super.init(frame: frame)
|
|
|
|
|
|
+
|
|
|
addSubview(renderView)
|
|
|
addSubview(progressLab)
|
|
|
addSubview(playMaskView)
|