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:
James Zern 2014-07-09 11:38:00 -07:00
parent 8abbd37d21
commit aa70712e4e

View File

@ -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)