mirror of
https://github.com/unclshura/splitter.git
synced 2026-06-22 00:22:01 +00:00
Even better
This commit is contained in:
parent
ccfa3936c7
commit
6be2265a89
@ -18,6 +18,6 @@ public abstract class LoggingBase(int progressLine)
|
||||
protected void DrawProgress(string name, double percent, TimeSpan eta, double fps)
|
||||
=> Logger.DrawProgress(name, progressLine, percent, eta, fps);
|
||||
|
||||
protected void ClearProgress(int progressLevel)
|
||||
=> Logger.ClearProgress(progressLevel);
|
||||
protected void ClearProgress()
|
||||
=> Logger.ClearProgress(progressLine);
|
||||
}
|
||||
|
||||
@ -167,7 +167,7 @@ public class TrackingSplitter : LoggingBase, ISegmentProcessor, IDisposable
|
||||
|
||||
await ffmpeg.WaitForExitAsync();
|
||||
|
||||
ClearProgress(_segmentNo);
|
||||
ClearProgress();
|
||||
|
||||
if (ffmpeg.ExitCode != 0)
|
||||
LogError($"Segment {name} FFmpeg encoding failed");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user