فهرست منبع

不使用缓存

jsonwang 3 سال پیش
والد
کامیت
c2798c5a5d
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      BFFramework/Classes/PQGPUImage/akfilters/Tools/PQCompositionExporter.swift

+ 3 - 2
BFFramework/Classes/PQGPUImage/akfilters/Tools/PQCompositionExporter.swift

@@ -152,7 +152,7 @@ public class PQCompositionExporter {
 
         }else{
 
-            configCache(beginTime: mStickers?.first?.timelineIn ?? 0)
+//            configCache(beginTime: mStickers?.first?.timelineIn ?? 0)
         
         }
  
@@ -240,7 +240,8 @@ public class PQCompositionExporter {
         input?.progress = { [weak self] currTime, duration, progress in
             
             if(self?.mStickers?.count ?? 0 > 0){
-                self?.changeFilter(currTime: CMTimeGetSeconds(self?.input?.currentTime ?? .zero) )
+                self?.findShowStikcer(currTime: CMTimeGetSeconds(self?.input?.currentTime ?? .zero) )
+//                self?.changeFilter(currTime: CMTimeGetSeconds(self?.input?.currentTime ?? .zero) )
             }
             DispatchQueue.main.async {[weak self] in
                 self?.progressClosure?(Float(currTime), Float(duration), Float(progress))