Changeset 902a27d in subsurface


Ignore:
Timestamp:
Jan 1, 2017, 3:57:19 AM (6 months ago)
Author:
Miika Turkia <miika.turkia@…>
Branches:
master
Children:
ca7f593
Parents:
9b9d065
Message:

AV1 import: deco mode reported by DC

Signed-off-by: Miika Turkia <miika.turkia@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xslt/av1.xslt

    r9b9d065 r902a27d  
    163163        </xsl:when>
    164164
     165        <xsl:when test="substring-before($line, '=') = 'DecoSel'">
     166          <xsl:variable name="value">
     167            <xsl:value-of select="substring-after($line, '= ')"/>
     168          </xsl:variable>
     169          <xsl:attribute name="in_deco">
     170            <xsl:choose>
     171              <xsl:when test="$value &gt; 0">
     172                <xsl:value-of select="'1'"/>
     173              </xsl:when>
     174              <xsl:otherwise>
     175                <xsl:value-of select="'0'"/>
     176              </xsl:otherwise>
     177            </xsl:choose>
     178          </xsl:attribute>
     179        </xsl:when>
     180
    165181        <xsl:otherwise>
    166182          <xsl:if test="$remaining != ''">
Note: See TracChangeset for help on using the changeset viewer.