[FFmpeg-cvslog] avformat/flvdec: Show unknown tags at debug level
Michael Niedermayer
git at videolan.org
Fri Jun 5 21:56:54 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jun 5 21:21:44 2015 +0200| [108b738db1fd86806374874649aab9c79ed3bee0] | committer: Michael Niedermayer
avformat/flvdec: Show unknown tags at debug level
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=108b738db1fd86806374874649aab9c79ed3bee0
---
libavformat/flvdec.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 4509575..f4447b6 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -581,8 +581,10 @@ static int flv_read_metabody(AVFormatContext *s, int64_t next_pos)
if (!strcmp(buffer, "onCaptionInfo"))
return TYPE_ONCAPTIONINFO;
- if (strcmp(buffer, "onMetaData") && strcmp(buffer, "onCuePoint"))
+ if (strcmp(buffer, "onMetaData") && strcmp(buffer, "onCuePoint")) {
+ av_log(s, AV_LOG_DEBUG, "Unknown type %s\n", buffer);
return TYPE_UNKNOWN;
+ }
// find the streams now so that amf_parse_object doesn't need to do
// the lookup every time it is called.
More information about the ffmpeg-cvslog
mailing list