[FFmpeg-devel] [PATCH] ffplay: flush correct stream after stats update
Marton Balint
cus at passwd.hu
Sat Apr 4 13:00:32 EEST 2020
On Fri, 3 Apr 2020, Gyan Doshi wrote:
> Stats and logs are written to stderr, not stdout.
> ---
> 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);
LGTM, thanks.
Marton
More information about the ffmpeg-devel
mailing list