Emit stale progress only if all outputs of a process are stale
This commit is contained in:
parent
1d298038dd
commit
206c81d7e8
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user