summaryrefslogtreecommitdiffstats
path: root/libavformat/matroska.h
diff options
context:
space:
mode:
authorVignesh Venkatasubramanian <vigneshv@google.com>2013-08-30 10:52:36 -0700
committerMichael Niedermayer <michaelni@gmx.at>2013-09-10 01:45:38 +0200
commitd92b1b1babe69268971863649c225e1747358a74 (patch)
treec92a255b3966c34a2e9802a161a6d5cd633f2a79 /libavformat/matroska.h
parentbb47aa5850c8f31939a978d361c834d1f3a53960 (diff)
downloadffmpeg-streaming-d92b1b1babe69268971863649c225e1747358a74.zip
ffmpeg-streaming-d92b1b1babe69268971863649c225e1747358a74.tar.gz
lavf/matroska: Adding support for Opus CodecDelay
In order to represent the codec delay accurately in Matroska, a new element CodecDelay has been introduced. It contains the overall delay added by the codec in nanoseconds. This patch adds support for muxing CodecDelay value in the container. Matroska spec for CodecDelay element can be found here: http://matroska.org/technical/specs/index.html#CodecDelay Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/matroska.h')
-rw-r--r--libavformat/matroska.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/matroska.h b/libavformat/matroska.h
index 002fc4c..0c3dc29 100644
--- a/libavformat/matroska.h
+++ b/libavformat/matroska.h
@@ -91,6 +91,7 @@
#define MATROSKA_ID_CODECINFOURL 0x3B4040
#define MATROSKA_ID_CODECDOWNLOADURL 0x26B240
#define MATROSKA_ID_CODECDECODEALL 0xAA
+#define MATROSKA_ID_CODECDELAY 0x56AA
#define MATROSKA_ID_SEEKPREROLL 0x56BB
#define MATROSKA_ID_TRACKNAME 0x536E
#define MATROSKA_ID_TRACKLANGUAGE 0x22B59C
OpenPOWER on IntegriCloud