diff options
author | sr55 <[email protected]> | 2017-11-25 21:01:48 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2017-11-25 21:01:48 +0000 |
commit | 78140d60db80df8b7855f7832b029f1382aeaa9a (patch) | |
tree | 76fb5841d0510a315565691bf7560945f6ab1306 /win/CS/HandBrakeWPF/ViewModels | |
parent | 9d1bf1dfaf5530ad38ca6acc1b2175df8101c6aa (diff) |
WinGui: Fix the mini status display controller.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MiniViewModel.cs | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MiniViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MiniViewModel.cs index 64809bbf4..3e5fb83c1 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MiniViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MiniViewModel.cs @@ -193,16 +193,17 @@ namespace HandBrakeWPF.ViewModels /// </param>
private void EncodeService_EncodeStatusChanged(object sender, EncodeProgressEventArgs e)
{
- this.Task = queueProcessor.LastProcessedJob.ScannedSourcePath;
-
- // {0:00.00}% FPS: {1:000.0} Avg FPS: {2:000.0} Time Remaining: {3} Elapsed: {4:hh\:mm\:ss}
- this.Progress = string.Format(
- Resources.MainViewModel_EncodeStatusChanged_StatusLabel,
- e.PercentComplete,
- e.CurrentFrameRate,
- e.AverageFrameRate,
- e.EstimatedTimeLeft,
- e.ElapsedTime);
+ this.Task = this.queueProcessor.LastProcessedJob.ScannedSourcePath;
+
+ this.Progress =
+ string.Format(Resources.MiniViewModel_EncodeStatusChanged_StatusLabel,
+ e.Task,
+ e.TaskCount,
+ e.PercentComplete,
+ e.CurrentFrameRate,
+ e.AverageFrameRate,
+ e.EstimatedTimeLeft,
+ e.ElapsedTime);
}
}
}
|