[matroska] r1030 - trunk/libebml/ebml
| Newsgroups | gmane.comp.multimedia.matroska.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: robux4
Date: 2005-01-10 23:05:40 +0300 (Mon, 10 Jan 2005)
New Revision: 1030
Modified:
trunk/libebml/ebml/EbmlMaster.h
Log:
libebml: don't save empty EbmlMasters by default
Modified: trunk/libebml/ebml/EbmlMaster.h
===================================================================
--- trunk/libebml/ebml/EbmlMaster.h 2005-01-10 15:59:56 UTC (rev 1029)
+++ trunk/libebml/ebml/EbmlMaster.h 2005-01-10 20:05:40 UTC (rev 1030)
@@ -117,7 +117,7 @@
const EbmlElement * operator[](unsigned int position) const {return ElementList[position];}
bool IsDefaultValue() const {
- return false;
+ return (ElementList.size() == 0);
}
virtual bool IsMaster() const {return true;}