mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
- added indexing, dynamic params, signals, actions, clocking
Original commit message from CVS: - added indexing, dynamic params, signals, actions, clocking
This commit is contained in:
parent
d232483e12
commit
2923f6f8c8
1 changed files with 78 additions and 1 deletions
|
@ -10,6 +10,8 @@
|
|||
<xsl:apply-templates select="element-flags"/>
|
||||
<xsl:apply-templates select="element-implementation"/>
|
||||
<xsl:apply-templates select="clocking-interaction"/>
|
||||
<xsl:apply-templates select="indexing-capabilities"/>
|
||||
<xsl:apply-templates select="dyn-params"/>
|
||||
<xsl:apply-templates select="pads"/>
|
||||
<xsl:apply-templates select="element-properties"/>
|
||||
<xsl:apply-templates select="element-signals"/>
|
||||
|
@ -172,8 +174,42 @@
|
|||
<xsl:text> </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="requires-clock">
|
||||
<xsl:text> element requires a clock </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="provides-clock">
|
||||
<xsl:text> element provides a clock: </xsl:text>
|
||||
<xsl:value-of select="@name"/>
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="clocking-interaction">
|
||||
<xsl:text>Clocking Interaction: </xsl:text>
|
||||
<xsl:choose>
|
||||
<xsl:when test="count(*) = 0">
|
||||
<xsl:text> none </xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates select="*"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="indexing-capabilities">
|
||||
<xsl:text> element can do indexing</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="dyn-params">
|
||||
<xsl:text> Dynamic Parameters: </xsl:text>
|
||||
<xsl:choose>
|
||||
<xsl:when test="count(*) = 0">
|
||||
<xsl:text> none </xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
|
@ -283,8 +319,8 @@
|
|||
|
||||
<xsl:template match="element-properties">
|
||||
<xsl:text>Element Arguments: </xsl:text>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:apply-templates select="element-property"/>
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="default">
|
||||
|
@ -305,13 +341,54 @@
|
|||
<xsl:text> </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="params">
|
||||
<xsl:for-each select="type">
|
||||
<xsl:text>, </xsl:text>
|
||||
<xsl:value-of select="."/>
|
||||
<xsl:text> arg</xsl:text>
|
||||
<xsl:value-of select="position()"/>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="signal">
|
||||
<xsl:text> "</xsl:text>
|
||||
<xsl:value-of select="name"/>
|
||||
<xsl:text>" :</xsl:text>
|
||||
<xsl:value-of select="return-type"/>
|
||||
<xsl:text> user_function </xsl:text>
|
||||
<xsl:value-of select="concat ('(', object-type, '* object')"/>
|
||||
<xsl:apply-templates select="params"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="element-signals">
|
||||
<xsl:text>Element Signals: </xsl:text>
|
||||
<xsl:choose>
|
||||
<xsl:when test="count(*) = 0">
|
||||
<xsl:text> none </xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:for-each select="signal">
|
||||
<xsl:apply-templates select="."/>
|
||||
<xsl:text>, gpointer user_data); </xsl:text>
|
||||
</xsl:for-each>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="element-actions">
|
||||
<xsl:text>Element Actions: </xsl:text>
|
||||
<xsl:choose>
|
||||
<xsl:when test="count(*) = 0">
|
||||
<xsl:text> none </xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:for-each select="signal">
|
||||
<xsl:apply-templates select="."/>
|
||||
<xsl:text>); </xsl:text>
|
||||
</xsl:for-each>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
|
|
Loading…
Reference in a new issue