Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGyan Doshi <ffmpeg@gyani.pro>2020-04-03 19:29:31 +0300
committerGyan Doshi <ffmpeg@gyani.pro>2020-04-04 13:31:57 +0300
commitb195b5f2ba3527172ff6ac28d018a6ba23262af9 (patch)
tree192afd783b7623b036e33c5d66298c58cfed6571 /fftools/ffplay.c
parent2d6a89872ea2e20a3464be825d683d6f91d67c62 (diff)
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.c2
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;