[matroska] r1119 - trunk/libmatroska/matroska

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2005-04-10 02:11:26 +0400 (Sun, 10 Apr 2005)
New Revision: 1119

Modified:
   trunk/libmatroska/matroska/KaxChapters.h
Log:
libmatroska: KaxChapterSegmentUID is an EbmlBinary

Modified: trunk/libmatroska/matroska/KaxChapters.h
===================================================================
--- trunk/libmatroska/matroska/KaxChapters.h	2005-04-09 18:52:52 UTC (rev 1118)
+++ trunk/libmatroska/matroska/KaxChapters.h	2005-04-09 22:11:26 UTC (rev 1119)
@@ -178,15 +178,16 @@
 	EbmlElement * Clone() const {return new KaxChapterFlagEnabled(*this);}
 };
 
-class MATROSKA_DLL_API KaxChapterSegmentUID : public EbmlUInteger {
+class MATROSKA_DLL_API KaxChapterSegmentUID : public EbmlBinary {
 public:
     KaxChapterSegmentUID() {}
-	KaxChapterSegmentUID(const KaxChapterSegmentUID & ElementToClone) :EbmlUInteger(ElementToClone) {}
+	KaxChapterSegmentUID(const KaxChapterSegmentUID & ElementToClone) :EbmlBinary(ElementToClone) {}
     static EbmlElement & Create() {return *(new KaxChapterSegmentUID);}
     const EbmlCallbacks & Generic() const {return ClassInfos;}
     static const EbmlCallbacks ClassInfos;
     operator const EbmlId &() const {return ClassInfos.GlobalId;}
 	EbmlElement * Clone() const {return new KaxChapterSegmentUID(*this);}
+	bool ValidateSize() const { return (Size == 16);}
 };
 
 class MATROSKA_DLL_API KaxChapterPhysicalEquiv : public EbmlUInteger {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.