ffplay: flush correct stream after stats update

Stats and logs are written to stderr, not stdout.
pull/336/head
Gyan Doshi 5 years ago
parent 2d6a89872e
commit b195b5f2ba
  1. 2
      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;

Loading…
Cancel
Save