projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed80ba7
)
Make sure "Last message repeated" is printed.
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 28 Jul 2010 12:08:26 +0000
(12:08 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 28 Jul 2010 12:08:26 +0000
(12:08 +0000)
Originally committed as revision 24573 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/log.c
patch
|
blob
|
history
diff --git
a/libavutil/log.c
b/libavutil/log.c
index 9b493367e421e9576d7a940cba3f6b11d438b8ed..2e225b3b509385ce0dc5159bf1658a42d48eca68 100644
(file)
--- a/
libavutil/log.c
+++ b/
libavutil/log.c
@@
-105,6
+105,7
@@
void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl)
print_prefix= line[strlen(line)-1] == '\n';
if(print_prefix && !strcmp(line, prev)){
count++;
+ fprintf(stderr, " Last message repeated %d times\r", count);
return;
}
if(count>0){