summaryrefslogtreecommitdiff
path: root/libavformat/matroska.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2013-01-13 21:34:03 +0100
committerNicolas George <nicolas.george@normalesup.org>2013-01-16 15:53:01 +0100
commit0942aa463736e169c30270d3627c51c822ce58a7 (patch)
tree2802f0ebff94900e4800e18c34bf84da8259b2e9 /libavformat/matroska.c
parentf0cf017dee3c8952965469dc27d4c798a2a8780e (diff)
lafv/matroska: add A_OPUS/EXPERIMENTAL codec name.
The exact packing of Opus inside Matroska is not finalized. Use A_OPUS/EXPERIMENTAL as codec name, like mkvtoolnix. The A_OPUS name stays to let ffmpeg open files it has produced until now, but newly produced file use the EXPERIMENTAL version. Once the spec is stabilized it will be possible to consider options to ensure compatibility with these files.
Diffstat (limited to 'libavformat/matroska.c')
-rw-r--r--libavformat/matroska.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/matroska.c b/libavformat/matroska.c
index 930c609cd4..db9c2bb1ed 100644
--- a/libavformat/matroska.c
+++ b/libavformat/matroska.c
@@ -32,6 +32,7 @@ const CodecTags ff_mkv_codec_tags[]={
{"A_MPEG/L2" , AV_CODEC_ID_MP2},
{"A_MPEG/L1" , AV_CODEC_ID_MP2},
{"A_MPEG/L3" , AV_CODEC_ID_MP3},
+ {"A_OPUS/EXPERIMENTAL",AV_CODEC_ID_OPUS},
{"A_OPUS", AV_CODEC_ID_OPUS},
{"A_PCM/FLOAT/IEEE" , AV_CODEC_ID_PCM_F32LE},
{"A_PCM/FLOAT/IEEE" , AV_CODEC_ID_PCM_F64LE},