[FFmpeg-cvslog] ffplay: report video frame changes only in debug mode
Stefano Sabatini
git at videolan.org
Wed Feb 6 00:24:13 CET 2013
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Feb 3 22:26:55 2013 +0100| [212bb6490fa62ff0a11314cfc3749ffa384b537b] | committer: 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 ..."
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=212bb6490fa62ff0a11314cfc3749ffa384b537b
---
ffplay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffplay.c b/ffplay.c
index bbc1e70..d8dbe44 100644
--- a/ffplay.c
+++ b/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,
More information about the ffmpeg-cvslog
mailing list