diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-07 19:02:32 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-07 19:02:32 +0200 |
commit | 107b42388cc5481f599fd71d4f4edbd6360c2ad5 (patch) | |
tree | 55e419db1d70962d11d64368da209e8802804223 /libavformat | |
parent | 23d8aaae46df36eb3f11463432d71d9fc1d2ec9e (diff) | |
download | ffmpeg-streaming-107b42388cc5481f599fd71d4f4edbd6360c2ad5.zip ffmpeg-streaming-107b42388cc5481f599fd71d4f4edbd6360c2ad5.tar.gz |
lavf: fix missing "parser not found" message
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 : |