[FFmpeg-cvslog] ffprobe: set AV_LOG_SKIP_REPEATED log flag

Stefano Sabatini git at videolan.org
Thu Jan 12 17:36:19 CET 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Jan 12 17:30:10 2012 +0100| [58e1de724de9acdf8cc7da66ab7af5300cdf9689] | committer: Stefano Sabatini

ffprobe: set AV_LOG_SKIP_REPEATED log flag

Consistent with ffmpeg and ffplay.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=58e1de724de9acdf8cc7da66ab7af5300cdf9689
---

 ffprobe.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ffprobe.c b/ffprobe.c
index 485950d..5865fe1 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -1739,6 +1739,7 @@ int main(int argc, char **argv)
     char *w_name = NULL, *w_args = NULL;
     int ret;
 
+    av_log_set_flags(AV_LOG_SKIP_REPEATED);
     parse_loglevel(argc, argv, options);
     av_register_all();
     avformat_network_init();



More information about the ffmpeg-cvslog mailing list