1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-15 17:01:38 +02:00

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

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;