You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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 ..."
This commit is contained in:
2
ffplay.c
2
ffplay.c
@@ -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,
|
||||||
|
Reference in New Issue
Block a user