update
This commit is contained in:
parent
3748c0999b
commit
e4fe1c61e2
@ -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 = "--",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user