aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/matroska.h
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2008-05-22 22:07:09 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-05-22 22:07:09 +0000
commitf5275b3ce749ecb47c04fff49f8a29bcfbe13254 (patch)
treed84804f14b6355366d9feae9749ba74084a49ec6 /libavformat/matroska.h
parent79d7836a5e213d547629555e3f1157e7197aef68 (diff)
downloadffmpeg-f5275b3ce749ecb47c04fff49f8a29bcfbe13254.tar.gz
demux chapters out of matroska
patch by Anton Khirnov wyskas _at_ gmail _dot_ com Originally committed as revision 13241 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroska.h')
-rw-r--r--libavformat/matroska.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libavformat/matroska.h b/libavformat/matroska.h
index c4a5c23274..592e4b140d 100644
--- a/libavformat/matroska.h
+++ b/libavformat/matroska.h
@@ -57,6 +57,7 @@
#define MATROSKA_ID_SEEKHEAD 0x114D9B74
#define MATROSKA_ID_ATTACHMENTS 0x1941A469
#define MATROSKA_ID_CLUSTER 0x1F43B675
+#define MATROSKA_ID_CHAPTERS 0x1043A770
/* IDs in the info master */
#define MATROSKA_ID_TIMECODESCALE 0x2AD7B1
@@ -155,6 +156,18 @@
#define MATROSKA_ID_FILEDATA 0x465C
#define MATROSKA_ID_FILEUID 0x46AE
+/* IDs in the chapters master */
+#define MATROSKA_ID_EDITIONENTRY 0x45B9
+#define MATROSKA_ID_CHAPTERATOM 0xB6
+#define MATROSKA_ID_CHAPTERTIMESTART 0x91
+#define MATROSKA_ID_CHAPTERTIMEEND 0x92
+#define MATROSKA_ID_CHAPTERDISPLAY 0x80
+#define MATROSKA_ID_CHAPSTRING 0x85
+#define MATROSKA_ID_EDITIONUID 0x45BC
+#define MATROSKA_ID_EDITIONFLAGHIDDEN 0x45BD
+#define MATROSKA_ID_CHAPTERUID 0x73C4
+#define MATROSKA_ID_CHAPTERFLAGHIDDEN 0x98
+
typedef enum {
MATROSKA_TRACK_TYPE_NONE = 0x0,
MATROSKA_TRACK_TYPE_VIDEO = 0x1,