|
@@ -182,7 +182,7 @@ public class PQGPUImagePlayerView: UIView {
|
|
|
|
|
|
// 播放进度/总时长
|
|
// 播放进度/总时长
|
|
lazy var progressLab: UILabel = {
|
|
lazy var progressLab: UILabel = {
|
|
- let titleLab = UILabel(frame: CGRect(x: (self.frame.size.width - 140) / 2, y: self.frame.size.height - 10 - 14, width: 140, height: 12))
|
|
|
|
|
|
+ let titleLab = UILabel(frame: CGRect(x: (self.frame.size.width - 140) / 2, y: 10, width: 140, height: 12))
|
|
titleLab.font = UIFont.systemFont(ofSize: 12, weight: .medium)
|
|
titleLab.font = UIFont.systemFont(ofSize: 12, weight: .medium)
|
|
titleLab.textColor = UIColor.white
|
|
titleLab.textColor = UIColor.white
|
|
titleLab.textAlignment = .center
|
|
titleLab.textAlignment = .center
|
|
@@ -263,6 +263,7 @@ public class PQGPUImagePlayerView: UIView {
|
|
if borderLayer != nil {
|
|
if borderLayer != nil {
|
|
renderView.layer.addSublayer(borderLayer!)
|
|
renderView.layer.addSublayer(borderLayer!)
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
|
|
if isAutoHiden {
|
|
if isAutoHiden {
|
|
borderLayer?.opacity = 0
|
|
borderLayer?.opacity = 0
|
|
@@ -309,7 +310,7 @@ public class PQGPUImagePlayerView: UIView {
|
|
playerEmptyView.frame = CGRect(x: 0, y: 0, width: self.frame.size.width, height: self.frame.size.height)
|
|
playerEmptyView.frame = CGRect(x: 0, y: 0, width: self.frame.size.width, height: self.frame.size.height)
|
|
playMaskView.frame = CGRect.init(x: 0, y: 0, width: self.frame.width, height: self.frame.height)
|
|
playMaskView.frame = CGRect.init(x: 0, y: 0, width: self.frame.width, height: self.frame.height)
|
|
tipLab.frame = CGRect(x: (self.frame.size.width - 100) / 2, y: (self.frame.size.height - 14) / 2, width: 100, height: 14)
|
|
tipLab.frame = CGRect(x: (self.frame.size.width - 100) / 2, y: (self.frame.size.height - 14) / 2, width: 100, height: 14)
|
|
- progressLab.frame = CGRect(x: (self.frame.size.width - 140) / 2, y: self.frame.size.height - 10 - 14, width: 140, height: 14)
|
|
|
|
|
|
+ progressLab.frame = CGRect(x: (self.frame.size.width - 140) / 2, y: 10, width: 140, height: 14)
|
|
playView.frame = CGRect(x: (self.frame.size.width - self.frame.size.height / 3.6) / 2, y: (self.frame.size.height - self.frame.size.height / 3.6) / 2, width: self.frame.size.height / 3.6, height: self.frame.size.height / 3.6)
|
|
playView.frame = CGRect(x: (self.frame.size.width - self.frame.size.height / 3.6) / 2, y: (self.frame.size.height - self.frame.size.height / 3.6) / 2, width: self.frame.size.height / 3.6, height: self.frame.size.height / 3.6)
|
|
}
|
|
}
|
|
|
|
|
|
@@ -497,10 +498,7 @@ public class PQGPUImagePlayerView: UIView {
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
//创建下一个filter 数据
|
|
//创建下一个filter 数据
|