]> granicus.if.org Git - libmatroska/commitdiff
libmatroska: bring back KaxMatroska_Context (used in VLC)
authorSteve Lhomme <slhomme@matroska.org>
Sat, 11 Jun 2011 16:20:19 +0000 (16:20 +0000)
committerSteve Lhomme <slhomme@matroska.org>
Sat, 11 Jun 2011 16:20:19 +0000 (16:20 +0000)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@751 a6f86f6d-0131-4f8e-9e7b-e335508773d5

src/KaxContexts.cpp

index 5572358f97dcc2868259f80eae83e63b9924a3e4..4c065a820ef111136c94ca8370942eea0f05ab9d 100644 (file)
@@ -33,6 +33,7 @@
        \author Steve Lhomme     <robux4 @ users.sf.net>
 */
 #include "ebml/EbmlContexts.h"
+#include "ebml/EbmlHead.h"
 #include "matroska/KaxContexts.h"
 #include "matroska/KaxBlock.h"
 #include "matroska/KaxCluster.h"
@@ -43,6 +44,11 @@ using namespace LIBEBML_NAMESPACE;
 
 START_LIBMATROSKA_NAMESPACE
 
+DEFINE_START_SEMANTIC(KaxMatroska_Context)
+DEFINE_SEMANTIC_ITEM(true, true, EbmlHead)
+DEFINE_SEMANTIC_ITEM(false, false, KaxSegment)
+DEFINE_END_SEMANTIC(KaxMatroska_Context)
+
 DEFINE_SEMANTIC_CONTEXT(KaxSegment)
 DEFINE_SEMANTIC_CONTEXT(KaxAttached)
 DEFINE_SEMANTIC_CONTEXT(KaxAttachments)