Update element bindings, add queue2 bindings

This commit is contained in:
Sebastian Dröge 2010-02-01 10:48:52 +01:00
parent 1b2110fd43
commit dafc3c13b0
16 changed files with 879 additions and 45 deletions

View file

@ -284,6 +284,46 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HighPercent">
<MemberSignature Language="C#" Value="public int HighPercent { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("high-percent")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="LowPercent">
<MemberSignature Language="C#" Value="public int LowPercent { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("low-percent")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Make">
<MemberSignature Language="C#" Value="public static Gst.BasePlugins.DecodeBin2 Make ();" />
<MemberType>Method</MemberType>
@ -325,6 +365,66 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MaxSizeBuffers">
<MemberSignature Language="C#" Value="public uint MaxSizeBuffers { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("max-size-buffers")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MaxSizeBytes">
<MemberSignature Language="C#" Value="public uint MaxSizeBytes { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("max-size-bytes")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MaxSizeTime">
<MemberSignature Language="C#" Value="public ulong MaxSizeTime { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("max-size-time")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.UInt64</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="NewDecodedPad">
<MemberSignature Language="C#" Value="public event Gst.BasePlugins.DecodeBin2.NewDecodedPadHandler NewDecodedPad;" />
<MemberType>Event</MemberType>
@ -342,6 +442,26 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PostStreamTopology">
<MemberSignature Language="C#" Value="public bool PostStreamTopology { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("post-stream-topology")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RemovedDecodedPad">
<MemberSignature Language="C#" Value="public event Gst.BasePlugins.DecodeBin2.RemovedDecodedPadHandler RemovedDecodedPad;" />
<MemberType>Event</MemberType>
@ -422,5 +542,25 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UseBuffering">
<MemberSignature Language="C#" Value="public bool UseBuffering { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("use-buffering")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>

View file

@ -39,6 +39,19 @@
<summary>To be added.</summary>
</Docs>
</Member>
<Member MemberName="Buffering">
<MemberSignature Language="C#" Value="Buffering" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Gst.BasePlugins.PlayBin2+PlayFlagsType</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
</Docs>
</Member>
<Member MemberName="Download">
<MemberSignature Language="C#" Value="Download" />
<MemberType>Field</MemberType>

View file

@ -814,7 +814,6 @@
<AssemblyVersion>0.9.0.0</AssemblyVersion>
<AssemblyVersion>0.9.1.0</AssemblyVersion>
<AssemblyVersion>0.9.2.0</AssemblyVersion>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>

View file

@ -141,6 +141,46 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HighPercent">
<MemberSignature Language="C#" Value="public int HighPercent { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("high-percent")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="LowPercent">
<MemberSignature Language="C#" Value="public int LowPercent { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("low-percent")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Make">
<MemberSignature Language="C#" Value="public static Gst.CorePlugins.MultiQueue Make ();" />
<MemberType>Method</MemberType>
@ -285,5 +325,25 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UseBuffering">
<MemberSignature Language="C#" Value="public bool UseBuffering { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("use-buffering")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>

View file

@ -0,0 +1,359 @@
<Type Name="Queue2" FullName="Gst.CorePlugins.Queue2">
<TypeSignature Language="C#" Value="public sealed class Queue2 : Gst.Element" />
<AssemblyInfo>
<AssemblyName>gstreamer-sharp</AssemblyName>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Gst.Element</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>Gst.GTypeName("GstQueue2")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Queue2 ();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Queue2 (IntPtr raw);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="raw">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Queue2 (string name);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CurrentLevelBuffers">
<MemberSignature Language="C#" Value="public uint CurrentLevelBuffers { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("current-level-buffers")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CurrentLevelBytes">
<MemberSignature Language="C#" Value="public uint CurrentLevelBytes { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("current-level-bytes")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CurrentLevelTime">
<MemberSignature Language="C#" Value="public ulong CurrentLevelTime { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("current-level-time")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.UInt64</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HighPercent">
<MemberSignature Language="C#" Value="public int HighPercent { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("high-percent")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="LowPercent">
<MemberSignature Language="C#" Value="public int LowPercent { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("low-percent")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Make">
<MemberSignature Language="C#" Value="public static Gst.CorePlugins.Queue2 Make ();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Gst.CorePlugins.Queue2</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Make">
<MemberSignature Language="C#" Value="public static Gst.CorePlugins.Queue2 Make (string name);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Gst.CorePlugins.Queue2</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MaxSizeBuffers">
<MemberSignature Language="C#" Value="public uint MaxSizeBuffers { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("max-size-buffers")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MaxSizeBytes">
<MemberSignature Language="C#" Value="public uint MaxSizeBytes { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("max-size-bytes")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MaxSizeTime">
<MemberSignature Language="C#" Value="public ulong MaxSizeTime { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("max-size-time")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.UInt64</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TempLocation">
<MemberSignature Language="C#" Value="public string TempLocation { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("temp-location")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TempRemove">
<MemberSignature Language="C#" Value="public bool TempRemove { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("temp-remove")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TempTemplate">
<MemberSignature Language="C#" Value="public string TempTemplate { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("temp-template")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UseBuffering">
<MemberSignature Language="C#" Value="public bool UseBuffering { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("use-buffering")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UseRateEstimate">
<MemberSignature Language="C#" Value="public bool UseRateEstimate { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Gst.GLib.Property("use-rate-estimate")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>

View file

@ -318,6 +318,7 @@
<Type Name="MultiQueue" Kind="Class" />
<Type Name="Queue" Kind="Class" />
<Type Name="Queue+LeakyType" Kind="Enumeration" />
<Type Name="Queue2" Kind="Class" />
<Type Name="Tee" Kind="Class" />
<Type Name="Tee+PullModeType" Kind="Enumeration" />
<Type Name="TypeFindElement" Kind="Class" />

View file

@ -4,7 +4,7 @@
<long-name>Decoder Bin</long-name>
<class>Generic/Bin/Decoder</class>
<description>Autoplug and decode to raw media</description>
<authors>Edward Hervey &lt;edward@fluendo.com&gt;</authors>
<authors>Edward Hervey &lt;edward.hervey@collabora.co.uk&gt;, Sebastian Dröge &lt;sebastian.droege@collabora.co.uk&gt;</authors>
</details>
<object name="GstDecodeBin2">
<object name="GstBin">
@ -20,18 +20,18 @@
<interface name="GstChildProxy" />
</interfaces>
<pad-templates>
<pad-template>
<name>src%d</name>
<direction>src</direction>
<presence>sometimes</presence>
<caps>ANY</caps>
</pad-template>
<pad-template>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<caps>ANY</caps>
</pad-template>
<pad-template>
<name>src%d</name>
<direction>src</direction>
<presence>sometimes</presence>
<caps>ANY</caps>
</pad-template>
</pad-templates>
<element-flags>
</element-flags>
@ -85,6 +85,67 @@
<flags>RW</flags>
<default>NULL</default>
</element-property>
<element-property>
<name>use-buffering</name>
<type>gboolean</type>
<nick>Use Buffering</nick>
<blurb>Emit GST_MESSAGE_BUFFERING based on low-/high-percent thresholds</blurb>
<flags>RW</flags>
<default>FALSE</default>
</element-property>
<element-property>
<name>low-percent</name>
<type>gint</type>
<nick>Low percent</nick>
<blurb>Low threshold for buffering to start</blurb>
<flags>RW</flags>
<range min="0" max="100"/>
<default>10</default>
</element-property>
<element-property>
<name>high-percent</name>
<type>gint</type>
<nick>High percent</nick>
<blurb>High threshold for buffering to finish</blurb>
<flags>RW</flags>
<range min="0" max="100"/>
<default>99</default>
</element-property>
<element-property>
<name>max-size-bytes</name>
<type>guint</type>
<nick>Max. size (bytes)</nick>
<blurb>Max. amount of bytes in the queue (0=automatic)</blurb>
<flags>RW</flags>
<range min="0" max="4294967295"/>
<default>0</default>
</element-property>
<element-property>
<name>max-size-buffers</name>
<type>guint</type>
<nick>Max. size (buffers)</nick>
<blurb>Max. number of buffers in the queue (0=automatic)</blurb>
<flags>RW</flags>
<range min="0" max="4294967295"/>
<default>0</default>
</element-property>
<element-property>
<name>max-size-time</name>
<type>guint64</type>
<nick>Max. size (ns)</nick>
<blurb>Max. amount of data in the queue (in ns, 0=automatic)</blurb>
<flags>RW</flags>
<range min="0" max="18446744073709551615"/>
<default>0</default>
</element-property>
<element-property>
<name>post-stream-topology</name>
<type>gboolean</type>
<nick>Post Stream Topology</nick>
<blurb>Post stream-topology messages</blurb>
<flags>RW</flags>
<default>FALSE</default>
</element-property>
</element-properties>
<element-signals>
<signal>

View file

@ -80,6 +80,7 @@
<flag value="32" nick="native-audio"/>
<flag value="64" nick="native-video"/>
<flag value="128" nick="download"/>
<flag value="256" nick="buffering"/>
</flags-values>
</element-property>
<element-property>
@ -176,14 +177,6 @@
<flags>RW</flags>
<object-type>GstElement</object-type>
</element-property>
<element-property>
<name>subpic-sink</name>
<type>GstElement</type>
<nick>Subpicture plugin</nick>
<blurb>the subpicture output element to use (NULL = default dvdspu)</blurb>
<flags>RW</flags>
<object-type>GstElement</object-type>
</element-property>
<element-property>
<name>volume</name>
<type>gdouble</type>

View file

@ -34,7 +34,7 @@
<element-flags>
</element-flags>
<element-implementation>
<state-change function="0x2b81a6fc5480"/>
<state-change function="0x2b9400fa14c0"/>
<save function="gst_element_save_thyself"/>
<load function="gst_element_restore_thyself"/>
</element-implementation>

View file

@ -1,4 +1,4 @@
ELEMENTS = capsfilter fakesrc fakesink fdsrc fdsink filesrc filesink identity queue tee typefind multiqueue
ELEMENTS = capsfilter fakesrc fakesink fdsrc fdsink filesrc filesink identity queue queue2 tee typefind multiqueue
NAMESPACE = Gst.CorePlugins
INSPECT_FILES = $(patsubst %,$(srcdir)/inspect/%.raw,$(ELEMENTS))

View file

@ -20,14 +20,14 @@
</interfaces>
<pad-templates>
<pad-template>
<name>sink</name>
<direction>sink</direction>
<name>src</name>
<direction>src</direction>
<presence>always</presence>
<caps>ANY</caps>
</pad-template>
<pad-template>
<name>src</name>
<direction>src</direction>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<caps>ANY</caps>
</pad-template>

View file

@ -17,12 +17,6 @@
<interfaces>
</interfaces>
<pad-templates>
<pad-template>
<name>src%d</name>
<direction>src</direction>
<presence>sometimes</presence>
<caps>ANY</caps>
</pad-template>
<pad-template>
<name>sink%d</name>
<direction>sink</direction>
@ -30,6 +24,12 @@
<request-function>gst_multi_queue_request_new_pad</request-function>
<caps>ANY</caps>
</pad-template>
<pad-template>
<name>src%d</name>
<direction>src</direction>
<presence>sometimes</presence>
<caps>ANY</caps>
</pad-template>
</pad-templates>
<element-flags>
</element-flags>
@ -47,7 +47,7 @@
<name>extra-size-bytes</name>
<type>guint</type>
<nick>Extra Size (kB)</nick>
<blurb>Amount of data the queues can grow if one of them is empty (bytes, 0=disable)</blurb>
<blurb>Amount of data the queues can grow if one of them is empty (bytes, 0=disable) (NOT IMPLEMENTED)</blurb>
<flags>RW</flags>
<range min="0" max="4294967295"/>
<default>10485760</default>
@ -56,7 +56,7 @@
<name>extra-size-buffers</name>
<type>guint</type>
<nick>Extra Size (buffers)</nick>
<blurb>Amount of buffers the queues can grow if one of them is empty (0=disable)</blurb>
<blurb>Amount of buffers the queues can grow if one of them is empty (0=disable) (NOT IMPLEMENTED)</blurb>
<flags>RW</flags>
<range min="0" max="4294967295"/>
<default>5</default>
@ -65,7 +65,7 @@
<name>extra-size-time</name>
<type>guint64</type>
<nick>Extra Size (ns)</nick>
<blurb>Amount of time the queues can grow if one of them is empty (in ns, 0=disable)</blurb>
<blurb>Amount of time the queues can grow if one of them is empty (in ns, 0=disable) (NOT IMPLEMENTED)</blurb>
<flags>RW</flags>
<range min="0" max="18446744073709551615"/>
<default>3000000000</default>
@ -97,6 +97,32 @@
<range min="0" max="18446744073709551615"/>
<default>2000000000</default>
</element-property>
<element-property>
<name>use-buffering</name>
<type>gboolean</type>
<nick>Use buffering</nick>
<blurb>Emit GST_MESSAGE_BUFFERING based on low-/high-percent thresholds</blurb>
<flags>RW</flags>
<default>FALSE</default>
</element-property>
<element-property>
<name>low-percent</name>
<type>gint</type>
<nick>Low percent</nick>
<blurb>Low threshold for buffering to start</blurb>
<flags>RW</flags>
<range min="0" max="100"/>
<default>10</default>
</element-property>
<element-property>
<name>high-percent</name>
<type>gint</type>
<nick>High percent</nick>
<blurb>High threshold for buffering to finish</blurb>
<flags>RW</flags>
<range min="0" max="100"/>
<default>99</default>
</element-property>
</element-properties>
<element-signals>
<signal>

View file

@ -18,14 +18,14 @@
</interfaces>
<pad-templates>
<pad-template>
<name>sink</name>
<direction>sink</direction>
<name>src</name>
<direction>src</direction>
<presence>always</presence>
<caps>ANY</caps>
</pad-template>
<pad-template>
<name>src</name>
<direction>src</direction>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<caps>ANY</caps>
</pad-template>

View file

@ -0,0 +1,182 @@
<element>
<name>queue2</name>
<details>
<long-name>Queue 2</long-name>
<class>Generic</class>
<description>Simple data queue</description>
<authors>Erik Walthinsen &lt;omega@cse.ogi.edu&gt;, Wim Taymans &lt;wim.taymans@gmail.com&gt;</authors>
</details>
<object name="GstQueue2">
<object name="GstElement">
<object name="GstObject">
<object name="GObject">
</object>
</object>
</object>
</object>
<interfaces>
</interfaces>
<pad-templates>
<pad-template>
<name>src</name>
<direction>src</direction>
<presence>always</presence>
<caps>ANY</caps>
</pad-template>
<pad-template>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<caps>ANY</caps>
</pad-template>
</pad-templates>
<element-flags>
</element-flags>
<element-implementation>
<state-change function="gst_queue2_change_state"/>
<save function="gst_element_save_thyself"/>
<load function="gst_element_restore_thyself"/>
</element-implementation>
<clocking-interaction>
</clocking-interaction>
<pads>
<pad>
<name>src</name>
<direction>src</direction>
<template>src</template>
<implementation>
<get-range-based function="gst_queue2_get_range"/>
<event-function function="gst_queue2_handle_src_event"/>
<query-function function="gst_queue2_handle_src_query"/>
</implementation>
</pad>
<pad>
<name>sink</name>
<direction>sink</direction>
<template>sink</template>
<implementation>
<chain-based function="gst_queue2_chain"/>
<event-function function="gst_queue2_handle_sink_event"/>
<bufferalloc-function function="gst_queue2_bufferalloc"/>
</implementation>
</pad>
</pads>
<element-properties>
<element-property>
<name>current-level-buffers</name>
<type>guint</type>
<nick>Current level (buffers)</nick>
<blurb>Current number of buffers in the queue</blurb>
<flags>R</flags>
<range min="0" max="4294967295"/>
<default>0</default>
</element-property>
<element-property>
<name>current-level-bytes</name>
<type>guint</type>
<nick>Current level (kB)</nick>
<blurb>Current amount of data in the queue (bytes)</blurb>
<flags>R</flags>
<range min="0" max="4294967295"/>
<default>0</default>
</element-property>
<element-property>
<name>current-level-time</name>
<type>guint64</type>
<nick>Current level (ns)</nick>
<blurb>Current amount of data in the queue (in ns)</blurb>
<flags>R</flags>
<range min="0" max="18446744073709551615"/>
<default>0</default>
</element-property>
<element-property>
<name>max-size-buffers</name>
<type>guint</type>
<nick>Max. size (buffers)</nick>
<blurb>Max. number of buffers in the queue (0=disable)</blurb>
<flags>RW</flags>
<range min="0" max="4294967295"/>
<default>100</default>
</element-property>
<element-property>
<name>max-size-bytes</name>
<type>guint</type>
<nick>Max. size (kB)</nick>
<blurb>Max. amount of data in the queue (bytes, 0=disable)</blurb>
<flags>RW</flags>
<range min="0" max="4294967295"/>
<default>2097152</default>
</element-property>
<element-property>
<name>max-size-time</name>
<type>guint64</type>
<nick>Max. size (ns)</nick>
<blurb>Max. amount of data in the queue (in ns, 0=disable)</blurb>
<flags>RW</flags>
<range min="0" max="18446744073709551615"/>
<default>2000000000</default>
</element-property>
<element-property>
<name>use-buffering</name>
<type>gboolean</type>
<nick>Use buffering</nick>
<blurb>Emit GST_MESSAGE_BUFFERING based on low-/high-percent thresholds</blurb>
<flags>RW</flags>
<default>FALSE</default>
</element-property>
<element-property>
<name>use-rate-estimate</name>
<type>gboolean</type>
<nick>Use Rate Estimate</nick>
<blurb>Estimate the bitrate of the stream to calculate time level</blurb>
<flags>RW</flags>
<default>TRUE</default>
</element-property>
<element-property>
<name>low-percent</name>
<type>gint</type>
<nick>Low percent</nick>
<blurb>Low threshold for buffering to start</blurb>
<flags>RW</flags>
<range min="0" max="100"/>
<default>10</default>
</element-property>
<element-property>
<name>high-percent</name>
<type>gint</type>
<nick>High percent</nick>
<blurb>High threshold for buffering to finish</blurb>
<flags>RW</flags>
<range min="0" max="100"/>
<default>99</default>
</element-property>
<element-property>
<name>temp-template</name>
<type>gchararray</type>
<nick>Temporary File Template</nick>
<blurb>File template to store temporary files in, should contain directory and XXXXXX. (NULL == disabled)</blurb>
<flags>RW</flags>
<default>NULL</default>
</element-property>
<element-property>
<name>temp-location</name>
<type>gchararray</type>
<nick>Temporary File Location</nick>
<blurb>Location to store temporary files in (Deprecated: Only read this property, use temp-template to configure the name template)</blurb>
<flags>RW</flags>
<default>NULL</default>
</element-property>
<element-property>
<name>temp-remove</name>
<type>gboolean</type>
<nick>Remove the Temporary File</nick>
<blurb>Remove the temp-location after use</blurb>
<flags>RW</flags>
<default>TRUE</default>
</element-property>
</element-properties>
<element-signals>
</element-signals>
<element-actions>
</element-actions>
</element>

View file

@ -17,6 +17,12 @@
<interfaces>
</interfaces>
<pad-templates>
<pad-template>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<caps>ANY</caps>
</pad-template>
<pad-template>
<name>src%d</name>
<direction>src</direction>
@ -24,12 +30,6 @@
<request-function>gst_tee_request_new_pad</request-function>
<caps>ANY</caps>
</pad-template>
<pad-template>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<caps>ANY</caps>
</pad-template>
</pad-templates>
<element-flags>
</element-flags>

View file

@ -18,14 +18,14 @@
</interfaces>
<pad-templates>
<pad-template>
<name>sink</name>
<direction>sink</direction>
<name>src</name>
<direction>src</direction>
<presence>always</presence>
<caps>ANY</caps>
</pad-template>
<pad-template>
<name>src</name>
<direction>src</direction>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<caps>ANY</caps>
</pad-template>