summaryrefslogtreecommitdiff
path: root/libavformat/flvdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-05 21:21:44 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-05 21:56:09 +0200
commit108b738db1fd86806374874649aab9c79ed3bee0 (patch)
tree213d248b823c33bee404ab59d3aed8d102cec5af /libavformat/flvdec.c
parent790a3cdf76870d5b333d59d1df489e47d56242b8 (diff)
downloadffmpeg-108b738db1fd86806374874649aab9c79ed3bee0.tar.gz
avformat/flvdec: Show unknown tags at debug level
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/flvdec.c')
-rw-r--r--libavformat/flvdec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 4509575679..f4447b61ec 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.