ffplay: flush correct stream after stats update

Stats and logs are written to stderr, not stdout.
This commit is contained in:
Gyan Doshi 2020-04-03 21:59:31 +05:30
parent 2d6a89872e
commit b195b5f2ba
1 changed files with 1 additions and 1 deletions

View File

@ -1736,7 +1736,7 @@ display:
else
av_log(NULL, AV_LOG_INFO, "%s", buf.str);
fflush(stdout);
fflush(stderr);
av_bprint_finalize(&buf, NULL);
last_time = cur_time;