Commit 061b35eb0e672e472d9e3ff596ffc98c5fac9447

Authored by 648540858
1 parent 7ebb913f

修复视频合并时的数据地址拼接错误

src/main/java/top/panll/assist/service/VideoFileService.java
@@ -244,7 +244,7 @@ public class VideoFileService { @@ -244,7 +244,7 @@ public class VideoFileService {
244 mergeOrCutTaskInfo.setPercentage("1"); 244 mergeOrCutTaskInfo.setPercentage("1");
245 // 处理文件路径 245 // 处理文件路径
246 String recordFileResultPath = recordFile.getAbsolutePath() + File.separator + taskId + ".mp4"; 246 String recordFileResultPath = recordFile.getAbsolutePath() + File.separator + taskId + ".mp4";
247 - Path relativize = Paths.get(userSettings.getRecordTempPath()).relativize(Paths.get(recordFileResultPath)); 247 + String relativize = taskId + ".mp4";
248 try { 248 try {
249 Files.copy(fileList.get(0).toPath(), Paths.get(recordFileResultPath)); 249 Files.copy(fileList.get(0).toPath(), Paths.get(recordFileResultPath));
250 } catch (IOException e) { 250 } catch (IOException e) {