Emit stale progress only if all outputs of a process are stale

This commit is contained in:
Ingo Oppermann 2023-03-14 15:13:57 +01:00
parent 1d298038dd
commit 206c81d7e8
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

View File

@ -392,9 +392,9 @@ func (p *parser) Parse(line string) uint64 {
if isFFmpegProgress {
// Only consider the outputs
pFrames = 1
pFrames = 0
for i := range p.stats.output {
pFrames *= p.stats.output[i].diff.frame
pFrames += p.stats.output[i].diff.frame
}
}