[FFmpeg-devel] [PATCH] ffplay: report video frame changes only after the first one

Stefano Sabatini stefasab at gmail.com
Wed Feb 6 00:26:31 CET 2013


On date Sunday 2013-02-03 22:29:09 +0100, Stefano Sabatini encoded:
> In particular, remove distracting message:
> "Video frame changed from size:0x0 format:none serial:-1 to ..."
> 
> which is always shown when playing a video stream.
> ---
>  ffplay.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/ffplay.c b/ffplay.c
> index fc72b3a..875d4f4 100644
> --- a/ffplay.c
> +++ b/ffplay.c
> @@ -1941,6 +1941,7 @@ static int video_thread(void *arg)
>              || last_h != frame->height
>              || last_format != frame->format
>              || last_serial != serial) {
> +            if (last_serial >= 0)
>              av_log(NULL, AV_LOG_INFO,
>                     "Video frame changed from size:%dx%d format:%s serial:%d to size:%dx%d format:%s serial:%d\n",
>                     last_w, last_h,
> -- 
> 1.7.9.5

Applied a different patch.
-- 
FFmpeg = Fierce & Forgiving Mastodontic Perfectionist Ecumenical Game


More information about the ffmpeg-devel mailing list