diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2020-04-03 21:59:31 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2020-04-04 16:01:57 +0530 |
commit | b195b5f2ba3527172ff6ac28d018a6ba23262af9 (patch) | |
tree | 192afd783b7623b036e33c5d66298c58cfed6571 /fftools/ffplay.c | |
parent | 2d6a89872ea2e20a3464be825d683d6f91d67c62 (diff) | |
download | ffmpeg-b195b5f2ba3527172ff6ac28d018a6ba23262af9.tar.gz |
ffplay: flush correct stream after stats update
Stats and logs are written to stderr, not stdout.
Diffstat (limited to 'fftools/ffplay.c')
-rw-r--r-- | fftools/ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffplay.c b/fftools/ffplay.c index 416ebbf7df..1beec54293 100644 --- a/fftools/ffplay.c +++ b/fftools/ffplay.c @@ -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; |