diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-09-16 20:23:04 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-09-16 20:23:04 +0000 |
commit | c36823fd3d9028b165d4be0b79607e4d05cc69e5 (patch) | |
tree | 35fdcd647f1bdb8dcb959ee8efaf64e0e049dc51 /libavformat | |
parent | 8a6c7a5286cd63a195f393de12907b43f2e93adf (diff) | |
download | ffmpeg-c36823fd3d9028b165d4be0b79607e4d05cc69e5.tar.gz |
Print at debug level the score with which probing succeeded.
Originally committed as revision 19889 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 3635491d43..0e1d755343 100644 --- 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); } |