ffplay: report video frame changes only in debug mode

In particular, remove distracting message:
"Video frame changed from size:0x0 format:none serial:-1 to ..."
pull/9/head
Stefano Sabatini 12 years ago
parent 58c4b0f990
commit 212bb6490f
  1. 2
      ffplay.c

@ -1859,7 +1859,7 @@ static int video_thread(void *arg)
|| last_h != frame->height
|| last_format != frame->format
|| last_serial != serial) {
av_log(NULL, AV_LOG_INFO,
av_log(NULL, AV_LOG_DEBUG,
"Video frame changed from size:%dx%d format:%s serial:%d to size:%dx%d format:%s serial:%d\n",
last_w, last_h,
(const char *)av_x_if_null(av_get_pix_fmt_name(last_format), "none"), last_serial,

Loading…
Cancel
Save