Browse Source

修改路径

hexiao 1 year ago
parent
commit
c88b43ba8f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hazard-admin/src/main/java/com/ozs/web/core/util/CameraUtil.java

+ 2 - 2
hazard-admin/src/main/java/com/ozs/web/core/util/CameraUtil.java

@@ -839,9 +839,9 @@ ffmpeg -i "concat:1.ts|2.ts" -c copy output.mp4
                     keys.add(s);
                 }
             });
-            // 删除key
+
             if (keys.size() > 0) {
-                for (String s : mergeVideoTsFile.keySet()) {
+                for (String s : keys) {
                     mergeVideoTsFile.remove(s);
                 }
             }