|  | @@ -213,13 +213,13 @@ public class PQGPUImagePlayerView: UIView {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      }()
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    //进度的开始时间
 | 
	
		
			
				|  |  | +    var showProgressStartTime:Float = 0.0
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      required public init?(coder _: NSCoder) {
 | 
	
		
			
				|  |  |          fatalError("init(coder:) has not been implemented")
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      
 | 
	
		
			
				|  |  | -    //进度的开始时间
 | 
	
		
			
				|  |  | -    var showProgressStartTime:Float = 0.0
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      override public init(frame: CGRect) {
 | 
	
		
			
				|  |  |          super.init(frame: frame)
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -351,6 +351,7 @@ public class PQGPUImagePlayerView: UIView {
 | 
	
		
			
				|  |  |          stop()
 | 
	
		
			
				|  |  |          movie = nil
 | 
	
		
			
				|  |  |          speaker = nil
 | 
	
		
			
				|  |  | +        BFLog(1, message: "play view release")
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      /// XXXX 这里的 URL 使用的是全路径 ,如果不是全的会 crash ,方便复用 (不用处理业务的文件放在哪里)
 | 
	
	
		
			
				|  | @@ -550,23 +551,23 @@ public class PQGPUImagePlayerView: UIView {
 | 
	
		
			
				|  |  |      func changeFilter(currTime: Float64) {
 | 
	
		
			
				|  |  |          let  starts:CFTimeInterval = CFAbsoluteTimeGetCurrent()
 | 
	
		
			
				|  |  |           
 | 
	
		
			
				|  |  | -        FilterLog(message: " 要查找的 currTime is \(currTime)")
 | 
	
		
			
				|  |  | +        BFLog(message: " 要查找的 currTime is \(currTime)")
 | 
	
		
			
				|  |  |          //1,删除已经显示过的 filter
 | 
	
		
			
				|  |  |          self.cacheFilters.removeAll(where: {(filter) -> Bool in
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            (currTime > (filter.stickerInfo?.timelineOut ?? 0.0))
 | 
	
		
			
				|  |  | +            (Int(currTime * 1000) > Int((filter.stickerInfo?.timelineOut ?? 0.0) * 1000))
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |   
 | 
	
		
			
				|  |  |          // 2,找出一个要显示的 fitler
 | 
	
		
			
				|  |  |          let showIndex = cacheFilters.firstIndex(where: { (filter) -> Bool in
 | 
	
		
			
				|  |  | -            (currTime >= (filter.stickerInfo?.timelineIn ?? 0.0) && currTime <= (filter.stickerInfo?.timelineOut ?? 0.0))
 | 
	
		
			
				|  |  | +            (Int(currTime * 1000) >= Int((filter.stickerInfo?.timelineIn ?? 0.0) * 1000) && Int(currTime * 1000) <= Int((filter.stickerInfo?.timelineOut ?? 0.0) * 1000))
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |    
 | 
	
		
			
				|  |  |          if(showIndex == nil){
 | 
	
		
			
				|  |  |            
 | 
	
		
			
				|  |  |              FilterLog(message: "缓存没有查找到?出现数据错误!!!!")
 | 
	
		
			
				|  |  |              for (index,bsFilter )in cacheFilters.enumerated() {
 | 
	
		
			
				|  |  | -                print( "22222缓存操作   没要查找到要查找的显示是为:\(currTime) 缓存数据timeline in :\(bsFilter.stickerInfo?.timelineIn ?? 0.0)) timelineOut:\(bsFilter.stickerInfo?.timelineOut ?? 0.0) 缓存数 \(cacheFilters.count) index: \(index)")
 | 
	
		
			
				|  |  | +                BFLog(1, message: "22222缓存操作   没要查找到要查找的显示是为:\(currTime) 缓存数据timeline in :\(bsFilter.stickerInfo?.timelineIn ?? 0.0)) timelineOut:\(bsFilter.stickerInfo?.timelineOut ?? 0.0) 缓存数 \(cacheFilters.count) index: \(index)")
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              
 | 
	
		
			
				|  |  |              return
 |