ffprobe: set AV_LOG_SKIP_REPEATED log flag
authorStefano Sabatini <stefasab@gmail.com>
Thu, 12 Jan 2012 16:30:10 +0000 (17:30 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Thu, 12 Jan 2012 16:34:07 +0000 (17:34 +0100)
Consistent with ffmpeg and ffplay.

ffprobe.c

index 485950d..5865fe1 100644 (file)
--- 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();