mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-11 03:32:39 +00:00
Be more verbose when printing the probe result.
This commit is contained in:
parent
25347c880f
commit
133208ffb3
@ -594,9 +594,9 @@ int av_probe_input_buffer(AVIOContext *pb, AVInputFormat **fmt,
|
|||||||
*fmt = av_probe_input_format2(&pd, 1, &score);
|
*fmt = av_probe_input_format2(&pd, 1, &score);
|
||||||
if(*fmt){
|
if(*fmt){
|
||||||
if(score <= AVPROBE_SCORE_MAX/4){ //this can only be true in the last iteration
|
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
|
}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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user