ffmpeg | branch: master | Gyan Doshi <ffm...@gyani.pro> | Fri Apr  3 22:17:31 
2020 +0530| [b195b5f2ba3527172ff6ac28d018a6ba23262af9] | committer: Gyan Doshi

ffplay: flush correct stream after stats update

Stats and logs are written to stderr, not stdout.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b195b5f2ba3527172ff6ac28d018a6ba23262af9
---

 fftools/ffplay.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to