Skip to content

Commit

Permalink
Fix stuttering auto-encode spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
alexheretic committed Nov 16, 2024
1 parent 2398cb3 commit 61d6a46
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Unreleased
# Unreleased (v0.8.0)
* crf-search: Tweak 2nd iteration logic that slices the crf range at the 25% or 75% crf point.
- Widen to 20%/80% to account for searches of the "middle" two subranges being more optimal.
- Disable when using custom min/max crf ranges under half the default.
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/command/auto_encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ pub async fn auto_encode(Args { mut search, encode }: Args) -> anyhow::Result<()
.template(SPINNER_RUNNING)?
.progress_chars(PROGRESS_CHARS),
);
bar.enable_steady_tick(Duration::from_millis(100));

if defaulting_output {
let out = shell_escape::escape(output.display().to_string().into());
Expand Down

0 comments on commit 61d6a46

Please sign in to comment.