Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Fix falsely 0% generate video file progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
bytedream committed Apr 9, 2024
1 parent bba7b28 commit 7d12367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crunchy-cli-core/src/utils/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 7d12367

Please sign in to comment.