lavf: lower the log level of "parser not found".
authorNicolas George <nicolas.george@normalesup.org>
Thu, 8 Dec 2011 11:07:29 +0000 (12:07 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 8 Dec 2011 12:04:02 +0000 (13:04 +0100)
The information is relevant, but under normal circumstances
it raises far too many false alarms.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c

index 9382758..3e5a7b7 100644 (file)
@@ -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 */