aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux/ebml_defs.c
diff options
context:
space:
mode:
authorGravatar Anton Khirnov <wyskas@gmail.com>2010-03-28 14:21:42 +0200
committerGravatar Uoti Urpala <uau@glyph.nonexistent.invalid>2010-05-22 06:40:34 +0300
commitde42015a97cf296aad6307adcfb2750e1ab88800 (patch)
treebc121ed29fca0e5584d5bcb9145afeb07ffe9f42 /libmpdemux/ebml_defs.c
parentbc072fb7dc314710aa8c822b400efa3072b8c6ad (diff)
demux_mkv: read tags.
Diffstat (limited to 'libmpdemux/ebml_defs.c')
-rw-r--r--libmpdemux/ebml_defs.c31
1 files changed, 29 insertions, 2 deletions
diff --git a/libmpdemux/ebml_defs.c b/libmpdemux/ebml_defs.c
index f0296a3d62..918c5055c5 100644
--- a/libmpdemux/ebml_defs.c
+++ b/libmpdemux/ebml_defs.c
@@ -1,17 +1,44 @@
// Generated by TOOLS/matroska.py, do not edit manually
+E("TagString", tag_string, EBML_TYPE_STR)
+
+E("TagLanguage", tag_language, EBML_TYPE_STR)
+
+E("TagName", tag_name, EBML_TYPE_STR)
+
+#define N simple_tag
+E_S("SimpleTag", 3)
+F(MATROSKA_ID_TAGNAME, tag_name, 0)
+F(MATROSKA_ID_TAGLANGUAGE, tag_language, 0)
+F(MATROSKA_ID_TAGSTRING, tag_string, 0)
+}};
+#undef N
+
+E("TargetAttachmentUID", target_attachment_uid, EBML_TYPE_UINT)
+
+E("TargetChapterUID", target_chapter_uid, EBML_TYPE_UINT)
+
+E("TargetEditionUID", target_edition_uid, EBML_TYPE_UINT)
+
+E("TargetTrackUID", target_track_uid, EBML_TYPE_UINT)
+
E("TargetTypeValue", target_type_value, EBML_TYPE_UINT)
#define N targets
-E_S("Targets", 1)
+E_S("Targets", 5)
F(MATROSKA_ID_TARGETTYPEVALUE, target_type_value, 0)
+F(MATROSKA_ID_TARGETTRACKUID, target_track_uid, 0)
+F(MATROSKA_ID_TARGETEDITIONUID, target_edition_uid, 0)
+F(MATROSKA_ID_TARGETCHAPTERUID, target_chapter_uid, 0)
+F(MATROSKA_ID_TARGETATTACHMENTUID, target_attachment_uid, 0)
}};
#undef N
#define N tag
-E_S("Tag", 1)
+E_S("Tag", 2)
F(MATROSKA_ID_TARGETS, targets, 0)
+F(MATROSKA_ID_SIMPLETAG, simple_tag, 1)
}};
#undef N