vpxenc: fix per-frame psnr/size output on a terminal
was previously being wiped out by the ctrl-K escape Change-Id: I87d0de255a174f19e8912a65e519dad99d54a530
This commit is contained in:
parent
8abbd37d21
commit
aa70712e4e
3
vpxenc.c
3
vpxenc.c
@ -1686,7 +1686,6 @@ int main(int argc, const char **argv_) {
|
||||
fps >= 1.0 ? fps : fps * 60,
|
||||
fps >= 1.0 ? "fps" : "fpm");
|
||||
print_time("ETA", estimated_time_left);
|
||||
fprintf(stderr, "\033[K");
|
||||
}
|
||||
|
||||
} else
|
||||
@ -1737,6 +1736,8 @@ int main(int argc, const char **argv_) {
|
||||
}
|
||||
|
||||
fflush(stdout);
|
||||
if (!global.quiet)
|
||||
fprintf(stderr, "\033[K");
|
||||
}
|
||||
|
||||
if (stream_cnt > 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user