| 
					
				 | 
			
			
				@@ -392,7 +392,14 @@ public class PQGPUImagePlayerView: UIView { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 BFLog(2, message: "composition 方式初始化") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 movie = try PQMovieInput(asset: composition!, videoComposition: videoComposition, audioMix: audioMix, playAtActualSpeed: true, loop: isLoop, audioSettings: audioSettings) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //                movie?.exportAudioUrl = url // clipAudioRange 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                movie?.configAVPlayer(assetUrl: url, ranges: [clipAudioRange]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                var ranges = Array<CMTimeRange>() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if CMTimeGetSeconds(clipAudioRange.duration) ==  0 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    let range = CMTimeRange(start: CMTime.zero, duration: asset.duration) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    ranges.append(range) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    ranges.append(clipAudioRange) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                movie?.configAVPlayer(assetUrl: url, ranges: ranges) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 movie = try PQMovieInput(url: url, playAtActualSpeed: true, loop: isLoop, audioSettings: audioSettings) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |