summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2017-01-01 13:57:19 +0200
committerGravatar Miika Turkia <miika.turkia@gmail.com>2017-01-01 13:57:19 +0200
commit902a27d5de2a8fc70354a86a5e520f35d5bab79a (patch)
tree7afe5dc0f850105b7baddca9ccef1a9fde85a13d /xslt
parent9b9d065447cb531b6c144faa7086f1515bf98b9f (diff)
downloadsubsurface-902a27d5de2a8fc70354a86a5e520f35d5bab79a.tar.gz
AV1 import: deco mode reported by DC
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'xslt')
-rw-r--r--xslt/av1.xslt16
1 files changed, 16 insertions, 0 deletions
diff --git a/xslt/av1.xslt b/xslt/av1.xslt
index 9fb9adee5..9ac25413f 100644
--- a/xslt/av1.xslt
+++ b/xslt/av1.xslt
@@ -162,6 +162,22 @@
</xsl:if>
</xsl:when>
+ <xsl:when test="substring-before($line, '=') = 'DecoSel'">
+ <xsl:variable name="value">
+ <xsl:value-of select="substring-after($line, '= ')"/>
+ </xsl:variable>
+ <xsl:attribute name="in_deco">
+ <xsl:choose>
+ <xsl:when test="$value &gt; 0">
+ <xsl:value-of select="'1'"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="'0'"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ </xsl:when>
+
<xsl:otherwise>
<xsl:if test="$remaining != ''">
<xsl:call-template name="findNDL">