Browse Source

ffplay: flush correct stream after stats update

Stats and logs are written to stderr, not stdout.
tags/n4.3
Gyan Doshi 5 years ago
parent
commit
b195b5f2ba
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      fftools/ffplay.c

+ 1
- 1
fftools/ffplay.c 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;


Loading…
Cancel
Save