mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Print at debug level the score with which probing succeeded.
Originally committed as revision 19889 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8a6c7a5286
commit
c36823fd3d
@ -474,6 +474,8 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
|
|||||||
}
|
}
|
||||||
/* guess file format */
|
/* guess file format */
|
||||||
fmt = av_probe_input_format2(pd, 1, &score);
|
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);
|
av_freep(&pd->buf);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user