update
This commit is contained in:
parent
3748c0999b
commit
e4fe1c61e2
@ -223,7 +223,7 @@ namespace VideoConcat.ViewModels
|
|||||||
{
|
{
|
||||||
Index = currentIndex.ToString(),
|
Index = currentIndex.ToString(),
|
||||||
FileName = displayFileName,
|
FileName = displayFileName,
|
||||||
FullFileName = $"{originalFileName}_{currentIndex:D4}{extension}",
|
FullFileName = _tmpFileName,
|
||||||
Status = "失败",
|
Status = "失败",
|
||||||
OriginalSize = "--",
|
OriginalSize = "--",
|
||||||
OutputSize = "--",
|
OutputSize = "--",
|
||||||
@ -373,13 +373,14 @@ namespace VideoConcat.ViewModels
|
|||||||
double progressPercentForError = currentCompletedForError * 100.0 / totalTasks;
|
double progressPercentForError = currentCompletedForError * 100.0 / totalTasks;
|
||||||
string displayFileNameForError = originalFileNameForError.Length > 15 ? originalFileNameForError.Substring(0, 12) + "..." : originalFileNameForError.PadRight(15);
|
string displayFileNameForError = originalFileNameForError.Length > 15 ? originalFileNameForError.Substring(0, 12) + "..." : originalFileNameForError.PadRight(15);
|
||||||
|
|
||||||
|
string modeSuffixForError2 = ExtractWindowModel.ExtractFrameMode == Models.ExtractFrameMode.DeleteFrame ? "方案1" : "方案2";
|
||||||
ExtractWindowModel.Dispatcher.Invoke(() =>
|
ExtractWindowModel.Dispatcher.Invoke(() =>
|
||||||
{
|
{
|
||||||
var taskItem = new Models.ExtractTaskItem
|
var taskItem = new Models.ExtractTaskItem
|
||||||
{
|
{
|
||||||
Index = currentIndex.ToString(),
|
Index = currentIndex.ToString(),
|
||||||
FileName = displayFileNameForError,
|
FileName = displayFileNameForError,
|
||||||
FullFileName = $"{originalFileNameForError}_{currentIndex:D4}{Path.GetExtension(currentVideo)}",
|
FullFileName = $"{originalFileNameForError}_{currentIndex:D4}_{modeSuffixForError2}{Path.GetExtension(currentVideo)}",
|
||||||
Status = "异常",
|
Status = "异常",
|
||||||
OriginalSize = "--",
|
OriginalSize = "--",
|
||||||
OutputSize = "--",
|
OutputSize = "--",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user