Commit 212bb649 authored by Stefano Sabatini's avatar Stefano Sabatini

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 ..."
parent 58c4b0f9
...@@ -1859,7 +1859,7 @@ static int video_thread(void *arg) ...@@ -1859,7 +1859,7 @@ static int video_thread(void *arg)
|| last_h != frame->height || last_h != frame->height
|| last_format != frame->format || last_format != frame->format
|| last_serial != serial) { || 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", "Video frame changed from size:%dx%d format:%s serial:%d to size:%dx%d format:%s serial:%d\n",
last_w, last_h, last_w, last_h,
(const char *)av_x_if_null(av_get_pix_fmt_name(last_format), "none"), last_serial, (const char *)av_x_if_null(av_get_pix_fmt_name(last_format), "none"), last_serial,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment