projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8abbd37
)
vpxenc: fix per-frame psnr/size output on a terminal
author
James Zern
<jzern@google.com>
Wed, 9 Jul 2014 18:38:00 +0000
(11:38 -0700)
committer
James Zern
<jzern@google.com>
Wed, 9 Jul 2014 18:38:00 +0000
(11:38 -0700)
was previously being wiped out by the ctrl-K escape
Change-Id: I87d0de255a174f19e8912a65e519dad99d54a530
vpxenc.c
patch
|
blob
|
history
diff --git
a/vpxenc.c
b/vpxenc.c
index
fce6807
..
60ba547
100644
(file)
--- a/
vpxenc.c
+++ b/
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)