AV1 import: move tag definition for future changes

This should allow us to add different attributes to the samples while
parsing the log.

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2017-01-01 10:43:16 +02:00
parent e70d271d44
commit 47d77bc894

View file

@ -46,10 +46,12 @@
<xsl:choose>
<xsl:when test="string(number(substring($line, 1, 1))) != 'NaN'">
<sample>
<xsl:call-template name="printFields">
<xsl:with-param name="line" select="$line"/>
<xsl:with-param name="lineno" select="'0'"/>
</xsl:call-template>
</sample>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
@ -91,7 +93,6 @@
<xsl:with-param name="line" select="$line"/>
</xsl:call-template>
</xsl:variable>
<sample>
<xsl:attribute name="time">
<xsl:value-of select="substring-before($value, ':') * 60 + substring-after($value, ':')" />
</xsl:attribute>
@ -105,7 +106,6 @@
<xsl:attribute name="depth">
<xsl:value-of select="translate($depth, ',', '.')"/>
</xsl:attribute>
</sample>
</xsl:template>
</xsl:stylesheet>