提交 fd3064b6 编写于 作者: M Michael Niedermayer

Make sure "Last message repeated" is printed.

Originally committed as revision 24573 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 ed80ba74
...@@ -105,6 +105,7 @@ void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl) ...@@ -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'; print_prefix= line[strlen(line)-1] == '\n';
if(print_prefix && !strcmp(line, prev)){ if(print_prefix && !strcmp(line, prev)){
count++; count++;
fprintf(stderr, " Last message repeated %d times\r", count);
return; return;
} }
if(count>0){ if(count>0){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册