ZhangWenTao 2 年之前
父节点
当前提交
506089e03a
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/main/java/com/persagy/cameractl/common/VideoExportProcessContext.java

+ 4 - 0
src/main/java/com/persagy/cameractl/common/VideoExportProcessContext.java

@@ -96,6 +96,10 @@ public class VideoExportProcessContext {
 
     public synchronized boolean videoExists() throws InterruptedException {
         try {
+            if (inTransmission) {
+                return false;
+            }
+
             semaphore.acquire();
             File file = new File(filePath);