aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/matroska.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2013-09-20 22:15:49 -0300
committerMichael Niedermayer <michaelni@gmx.at>2013-09-21 14:33:01 +0200
commit56f17407bc4673dad263982d6fad5ef3ae8c9240 (patch)
tree099a7e1f59da26a57b91e3498ce19643951fbb7d /libavformat/matroska.h
parent8ad2465987d31bb818235303c0b02b897cd02133 (diff)
downloadffmpeg-56f17407bc4673dad263982d6fad5ef3ae8c9240.tar.gz
matroska: Add the CueDuration element
Use it only on subtitle CuePoints. With proper demuxer/splitter support this should improve the display of subtitles right after seeking to a given point in the stream. Signed-off-by: James Almer <jamrial@gmail.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 0c3dc29e19..3bb5aee080 100644
--- a/libavformat/matroska.h
+++ b/libavformat/matroska.h
@@ -159,6 +159,7 @@
#define MATROSKA_ID_CUETRACK 0xF7
#define MATROSKA_ID_CUECLUSTERPOSITION 0xF1
#define MATROSKA_ID_CUERELATIVEPOSITION 0xF0
+#define MATROSKA_ID_CUEDURATION 0xB2
#define MATROSKA_ID_CUEBLOCKNUMBER 0x5378
/* IDs in the tags master */