diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-04-19 11:50:27 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-04-19 11:50:27 +0200 |
commit | 133208ffb31daeb5eb1d3ef827c2a2d9da78bdad (patch) | |
tree | 8c58b20e03ccf21eed6ad19333c87b9475ea6ae2 /libavformat | |
parent | 25347c880f44dbe4bb0f23d6a087c22f4a218c10 (diff) | |
download | ffmpeg-133208ffb31daeb5eb1d3ef827c2a2d9da78bdad.tar.gz |
Be more verbose when printing the probe result.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 1919f61d6a..6421a33456 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -594,9 +594,9 @@ int av_probe_input_buffer(AVIOContext *pb, AVInputFormat **fmt, *fmt = av_probe_input_format2(&pd, 1, &score); if(*fmt){ if(score <= AVPROBE_SCORE_MAX/4){ //this can only be true in the last iteration - av_log(logctx, AV_LOG_WARNING, "Format detected only with low score of %d, misdetection possible!\n", score); + av_log(logctx, AV_LOG_WARNING, "Format %s detected only with low score of %d, misdetection possible!\n", (*fmt)->name, score); }else - av_log(logctx, AV_LOG_DEBUG, "Probed with size=%d and score=%d\n", probe_size, score); + av_log(logctx, AV_LOG_DEBUG, "Format %s probed with size=%d and score=%d\n", (*fmt)->name, probe_size, score); } } |