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:
8a6c7a5
)
Print at debug level the score with which probing succeeded.
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Sep 2009 20:23:04 +0000
(20:23 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Sep 2009 20:23:04 +0000
(20:23 +0000)
Originally committed as revision 19889 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
3635491
..
0e1d755
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-474,6
+474,8
@@
int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
}
/* guess file format */
fmt = av_probe_input_format2(pd, 1, &score);
+ if(fmt)
+ av_log(*ic_ptr, AV_LOG_DEBUG, "Probe with size=%d detected %s with score=%d\n", probe_size, fmt->name, score);
}
av_freep(&pd->buf);
}