Commit 08955ed8 authored by James Zern's avatar James Zern Committed by Gerrit Code Review

Merge "vpxenc: fix per-frame psnr/size output on a terminal"

parents 7e340614 aa70712e
...@@ -1686,7 +1686,6 @@ int main(int argc, const char **argv_) { ...@@ -1686,7 +1686,6 @@ int main(int argc, const char **argv_) {
fps >= 1.0 ? fps : fps * 60, fps >= 1.0 ? fps : fps * 60,
fps >= 1.0 ? "fps" : "fpm"); fps >= 1.0 ? "fps" : "fpm");
print_time("ETA", estimated_time_left); print_time("ETA", estimated_time_left);
fprintf(stderr, "\033[K");
} }
} else } else
...@@ -1737,6 +1736,8 @@ int main(int argc, const char **argv_) { ...@@ -1737,6 +1736,8 @@ int main(int argc, const char **argv_) {
} }
fflush(stdout); fflush(stdout);
if (!global.quiet)
fprintf(stderr, "\033[K");
} }
if (stream_cnt > 1) if (stream_cnt > 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment