mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-26 00:31:12 +00:00
Make sure "Last message repeated" is printed.
Originally committed as revision 24573 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ed80ba7461
commit
fd3064b65e
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user