avformat/flvdec: Show unknown tags at debug level

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-06-05 21:21:44 +02:00
parent 790a3cdf76
commit 108b738db1
1 changed files with 3 additions and 1 deletions

View File

@ -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.