diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-03 23:03:55 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-05 01:45:49 +0100 |
commit | 58721388b89bc1f8ecdc304ca86462fb7202527f (patch) | |
tree | 2c3718341a5081db55195e76236f86d53ea362af /libavformat | |
parent | 0f931b29f7e969a3c6159cb7173226e806f26f39 (diff) | |
download | ffmpeg-58721388b89bc1f8ecdc304ca86462fb7202527f.tar.gz |
avformat/flvenc: omit more metadata elements with specific meaning
Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/flvenc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index 5468c4d0e9..5e27ed0912 100644 --- a/libavformat/flvenc.c +++ b/libavformat/flvenc.c @@ -288,6 +288,14 @@ static void write_metadata(AVFormatContext *s, unsigned int ts) ||!strcmp(tag->key, "audiocodecid") ||!strcmp(tag->key, "duration") ||!strcmp(tag->key, "onMetaData") + ||!strcmp(tag->key, "datasize") + ||!strcmp(tag->key, "lasttimestamp") + ||!strcmp(tag->key, "totalframes") + ||!strcmp(tag->key, "hasAudio") + ||!strcmp(tag->key, "hasVideo") + ||!strcmp(tag->key, "hasCuePoints") + ||!strcmp(tag->key, "hasMetadata") + ||!strcmp(tag->key, "hasKeyframes") ){ av_log(s, AV_LOG_DEBUG, "Ignoring metadata for %s\n", tag->key); continue; |