| 
														
															@@ -31,6 +31,7 @@ class INVideoExportController: BFBaseViewController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    var enterBackgroundCancleExport = false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     // 预览播放进度 
														 | 
														
														 | 
														
															     // 预览播放进度 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     var sliderView: BFVideoPlayerSliderView? 
														 | 
														
														 | 
														
															     var sliderView: BFVideoPlayerSliderView? 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -287,6 +288,7 @@ class INVideoExportController: BFBaseViewController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         BFLog(message: "进入到后台") 
														 | 
														
														 | 
														
															         BFLog(message: "进入到后台") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															          
														 | 
														
														 | 
														
															          
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if isExporting { 
														 | 
														
														 | 
														
															         if isExporting { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            enterBackgroundCancleExport = true 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             self.export.cancelExport() 
														 | 
														
														 | 
														
															             self.export.cancelExport() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }else{ 
														 | 
														
														 | 
														
															         }else{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             if let sbtn = sliderView?.viewWithTag(1) as? UIButton { 
														 | 
														
														 | 
														
															             if let sbtn = sliderView?.viewWithTag(1) as? UIButton { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -299,11 +301,15 @@ class INVideoExportController: BFBaseViewController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @objc func willEnterForeground() { 
														 | 
														
														 | 
														
															     @objc func willEnterForeground() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         BFLog(message: "进入到前台") 
														 | 
														
														 | 
														
															         BFLog(message: "进入到前台") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        export.startExprot(synthesisAll: saveAllBtn.isSelected) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        //重启播放器 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        if let sbtn = sliderView?.viewWithTag(1) as? UIButton { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            sbtn.isSelected = false 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            avplayer.play() 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if enterBackgroundCancleExport { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            export.startExprot(synthesisAll: saveAllBtn.isSelected) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            enterBackgroundCancleExport = false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        }else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            //重启播放器 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if let sbtn = sliderView?.viewWithTag(1) as? UIButton { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                sbtn.isSelected = false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                avplayer.play() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            }             
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 |