diff --git a/ViewModels/ExtractWindowViewModel.cs b/ViewModels/ExtractWindowViewModel.cs index 83b9458..1bba37b 100644 --- a/ViewModels/ExtractWindowViewModel.cs +++ b/ViewModels/ExtractWindowViewModel.cs @@ -223,7 +223,7 @@ namespace VideoConcat.ViewModels { Index = currentIndex.ToString(), FileName = displayFileName, - FullFileName = $"{originalFileName}_{currentIndex:D4}{extension}", + FullFileName = _tmpFileName, Status = "失败", OriginalSize = "--", OutputSize = "--", @@ -373,13 +373,14 @@ namespace VideoConcat.ViewModels double progressPercentForError = currentCompletedForError * 100.0 / totalTasks; string displayFileNameForError = originalFileNameForError.Length > 15 ? originalFileNameForError.Substring(0, 12) + "..." : originalFileNameForError.PadRight(15); + string modeSuffixForError2 = ExtractWindowModel.ExtractFrameMode == Models.ExtractFrameMode.DeleteFrame ? "方案1" : "方案2"; ExtractWindowModel.Dispatcher.Invoke(() => { var taskItem = new Models.ExtractTaskItem { Index = currentIndex.ToString(), FileName = displayFileNameForError, - FullFileName = $"{originalFileNameForError}_{currentIndex:D4}{Path.GetExtension(currentVideo)}", + FullFileName = $"{originalFileNameForError}_{currentIndex:D4}_{modeSuffixForError2}{Path.GetExtension(currentVideo)}", Status = "异常", OriginalSize = "--", OutputSize = "--",