[FFmpeg-cvslog] lavf: fix missing "parser not found" message
Michael Niedermayer
git at videolan.org
Thu Jun 7 20:55:36 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jun 7 19:02:32 2012 +0200| [107b42388cc5481f599fd71d4f4edbd6360c2ad5] | committer: Michael Niedermayer
lavf: fix missing "parser not found" message
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=107b42388cc5481f599fd71d4f4edbd6360c2ad5
---
libavformat/utils.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 5185384..88c7444 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2481,6 +2481,10 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
} else if(st->need_parsing == AVSTREAM_PARSE_FULL_RAW) {
st->parser->flags |= PARSER_FLAG_USE_CODEC_TS;
}
+ } else if (st->need_parsing) {
+ av_log(ic, AV_LOG_VERBOSE, "parser not found for codec "
+ "%s, packets or times may be invalid.\n",
+ avcodec_get_name(st->codec->codec_id));
}
}
codec = st->codec->codec ? st->codec->codec :
More information about the ffmpeg-cvslog
mailing list