[FFmpeg-trac] #2650(avformat:new): Silence max_analyze_duration warning
FFmpeg
trac at avcodec.org
Fri Jun 7 13:31:09 CEST 2013
#2650: Silence max_analyze_duration warning
----------------------------------+---------------------------------------
Reporter: gjdfgh | Type: enhancement
Status: new | Priority: normal
Component: avformat | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+---------------------------------------
We all know this warning:
{{{
max_analyze_duration 5000000 reached at 5005000 microseconds
}}}
and it's completely useless, except maybe in very special circumstances.
The log level should be changed so that the message is visible in verbose
mode only. Currently it's a warning:
{{{
av_log(ic, AV_LOG_WARNING, "max_analyze_duration %d reached at %"PRId64"
microseconds\n", ic->max_analyze_duration, t);
}}}
Since there is nothing wrong with a file that causes this "warning" to be
printed, it really should be AV_LOG_VERBOSE instead.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2650>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list