summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt')
-rw-r--r--xslt/av1.xslt4
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/av1.xslt b/xslt/av1.xslt
index 015832fa9..bf38ddd65 100644
--- a/xslt/av1.xslt
+++ b/xslt/av1.xslt
@@ -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>