|
@@ -408,7 +408,10 @@ public class PQGPUImagePlayerView: UIView {
|
|
|
movie.completion = { [weak self] in
|
|
|
guard let strongSelf = self else { return }
|
|
|
//缓存已经用完,重新初始化缓存
|
|
|
- strongSelf.configCache()
|
|
|
+ if(strongSelf.filters.count == 0){
|
|
|
+ strongSelf.configCache()
|
|
|
+ }
|
|
|
+
|
|
|
DispatchQueue.main.async {
|
|
|
strongSelf.status = .stop
|
|
|
strongSelf.finishedClosure?()
|