[FFmpeg-devel] [PATCH] lavf: lower the log level of "parser not found".

Nicolas George nicolas.george at normalesup.org
Thu Dec 8 12:07:29 CET 2011


The information is relevant, but under normal circumstances
it raises far too many false alarms.

Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
 libavformat/utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 9382758..3e5a7b7 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1271,7 +1271,7 @@ static int read_frame_internal(AVFormatContext *s, AVPacket *pkt)
             if (st->need_parsing && !st->parser && !(s->flags & AVFMT_FLAG_NOPARSE)) {
                 st->parser = av_parser_init(st->codec->codec_id);
                 if (!st->parser) {
-                    av_log(s, AV_LOG_WARNING, "parser not found for codec "
+                    av_log(s, AV_LOG_VERBOSE, "parser not found for codec "
                            "%s, packets or times may be invalid.\n",
                            avcodec_get_name(st->codec->codec_id));
                     /* no parser available: just output the raw packets */
-- 
1.7.7.3



More information about the ffmpeg-devel mailing list