mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Fix invalid 0% generate video file progress bar
This commit is contained in:
parent
733d9f9787
commit
dbbb445c55
1 changed files with 1 additions and 1 deletions
|
|
@ -1516,7 +1516,7 @@ async fn ffmpeg_progress<R: AsyncReadExt + Unpin>(
|
|||
// is manually set to 100% here
|
||||
if frame < total_frames {
|
||||
if let Some(p) = &progress {
|
||||
p.set_position(frame)
|
||||
p.set_position(total_frames)
|
||||
}
|
||||
debug!("Processed frame [{}/{} 100%]", total_frames, total_frames);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue