summaryrefslogtreecommitdiff
path: root/libavformat/matroska.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-01-24 00:53:50 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-01-24 01:22:07 +0100
commitdf39c3ce385c02cbd8046298578ea7454c0a0f81 (patch)
tree9a7f778a2e1ea9e53808eb32b595743c50893799 /libavformat/matroska.c
parentf8b6d4818e1d77d7a4c071641243ef282fdb6255 (diff)
downloadffmpeg-df39c3ce385c02cbd8046298578ea7454c0a0f81.tar.gz
matroskaenc: add codec_tag lists back.
This reverts 312645e : "Do not set codec_tag property for matroska muxers." Also adds dummy codec_tag lists with codecs supported in mkv but not in wav / avi. Fixes ticket #2169.
Diffstat (limited to 'libavformat/matroska.c')
-rw-r--r--libavformat/matroska.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/matroska.c b/libavformat/matroska.c
index db9c2bb1ed..394a62f9d3 100644
--- a/libavformat/matroska.c
+++ b/libavformat/matroska.c
@@ -21,6 +21,9 @@
#include "matroska.h"
+/* If you add a tag here that is not in ff_codec_bmp_tags[]
+ or ff_codec_wav_tags[], add it also to additional_audio_tags[]
+ or additional_video_tags[] in matroskaenc.c */
const CodecTags ff_mkv_codec_tags[]={
{"A_AAC" , AV_CODEC_ID_AAC},
{"A_AC3" , AV_CODEC_ID_AC3},