Skip to content

Commit

Permalink
spectool: remove special case for KaxPrevUID and KaxNextUID
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Dec 19, 2023
1 parent 3320581 commit a01dbcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions spectool/schema_2_kaxsemantic_cpp.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "matroska/KaxCluster.h"
#include "matroska/KaxTracks.h"
#include "matroska/KaxCues.h"
#include "matroska/KaxInfoData.h"
#include "matroska/KaxBlockData.h"
#include "matroska/KaxCuesData.h"

Expand Down Expand Up @@ -127,7 +126,7 @@ namespace libmatroska {
<xsl:text>DEFINE_MKX_BINARY</xsl:text>
<xsl:choose>
<!-- Needs a special constructor -->
<xsl:when test="@name='Block' or @name='SimpleBlock' or @name='BlockVirtual' or @name='NextUUID' or @name='PrevUUID'"><xsl:text>_CONS</xsl:text></xsl:when>
<xsl:when test="@name='Block' or @name='SimpleBlock' or @name='BlockVirtual'"><xsl:text>_CONS</xsl:text></xsl:when>
<xsl:otherwise><xsl:text> </xsl:text></xsl:otherwise>
</xsl:choose>
<xsl:text>(Kax</xsl:text>
Expand Down
2 changes: 1 addition & 1 deletion spectool/schema_2_kaxsemantic_h.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace libmatroska {
</xsl:template>
<xsl:template match="ebml:element">
<!-- Ignore EBML extra constraints -->
<xsl:if test="@name!='Segment' and @name!='Cluster' and @name!='BlockGroup' and @name!='Block' and @name!='BlockVirtual' and @name!='ReferenceBlock' and @name!='SimpleBlock' and @name!='Cues' and @name!='CuePoint' and @name!='CueTrackPositions' and @name!='CueReference' and @name!='NextUUID' and @name!='PrevUUID' and @name!='SeekHead' and @name!='Seek' and @name!='TrackEntry'">
<xsl:if test="@name!='Segment' and @name!='Cluster' and @name!='BlockGroup' and @name!='Block' and @name!='BlockVirtual' and @name!='ReferenceBlock' and @name!='SimpleBlock' and @name!='Cues' and @name!='CuePoint' and @name!='CueTrackPositions' and @name!='CueReference' and @name!='SeekHead' and @name!='Seek' and @name!='TrackEntry'">
<!-- <xsl:copy> -->

<xsl:variable name="minVer">
Expand Down

0 comments on commit a01dbcb

Please sign in to comment.