mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
9987a75b1b
Original commit message from CVS: Implemented some test cases... they all fail :-( Added a flag to identity to for loop_based behaviour. Added a signal to fakesink when a buffer is consumed.
627 lines
15 KiB
XML
627 lines
15 KiB
XML
<?xml version="1.0"?>
|
|
<GST-Pipeline>
|
|
<element>
|
|
<name>bin1</name>
|
|
<type>bin</type>
|
|
<version>0.9.2</version>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
<children>
|
|
<element>
|
|
<name>fakesrc</name>
|
|
<type>fakesrc</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstFakeSrc::num_sources</name>
|
|
<value>1</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>fakesink</name>
|
|
<type>fakesink</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>fakesrc.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>false</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>fakesink.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>false</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
</children>
|
|
</element>
|
|
<element>
|
|
<name>bin2</name>
|
|
<type>bin</type>
|
|
<version>0.9.2</version>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
<children>
|
|
<element>
|
|
<name>fakesrc</name>
|
|
<type>fakesrc</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstFakeSrc::num_sources</name>
|
|
<value>1</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>fakesink</name>
|
|
<type>fakesink</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>fakesrc.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>true</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>fakesink.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>false</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
</children>
|
|
</element>
|
|
<element>
|
|
<name>bin3</name>
|
|
<type>bin</type>
|
|
<version>0.9.2</version>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
<children>
|
|
<element>
|
|
<name>fakesrc</name>
|
|
<type>fakesrc</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstFakeSrc::num_sources</name>
|
|
<value>1</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>fakesink</name>
|
|
<type>fakesink</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>fakesrc.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>false</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>fakesink.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>true</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
</children>
|
|
</element>
|
|
<element>
|
|
<name>bin4</name>
|
|
<type>bin</type>
|
|
<version>0.9.2</version>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
<children>
|
|
<element>
|
|
<name>fakesrc</name>
|
|
<type>fakesrc</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstFakeSrc::num_sources</name>
|
|
<value>1</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>fakesink</name>
|
|
<type>fakesink</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>fakesrc.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>true</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>fakesink.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>true</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
</children>
|
|
</element>
|
|
<element>
|
|
<name>thread1</name>
|
|
<type>thread</type>
|
|
<version>0.9.2</version>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
<children>
|
|
<element>
|
|
<name>fakesrc</name>
|
|
<type>fakesrc</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstFakeSrc::num_sources</name>
|
|
<value>1</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>fakesink</name>
|
|
<type>fakesink</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>fakesrc.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>false</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>fakesink.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>false</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
</children>
|
|
</element>
|
|
<element>
|
|
<name>thread2</name>
|
|
<type>thread</type>
|
|
<version>0.9.2</version>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
<children>
|
|
<element>
|
|
<name>fakesrc</name>
|
|
<type>fakesrc</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstFakeSrc::num_sources</name>
|
|
<value>1</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>fakesink</name>
|
|
<type>fakesink</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>fakesrc.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>true</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>fakesink.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>false</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
</children>
|
|
</element>
|
|
<element>
|
|
<name>thread3</name>
|
|
<type>thread</type>
|
|
<version>0.9.2</version>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
<children>
|
|
<element>
|
|
<name>fakesrc</name>
|
|
<type>fakesrc</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstFakeSrc::num_sources</name>
|
|
<value>1</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>fakesink</name>
|
|
<type>fakesink</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>fakesrc.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>false</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>fakesink.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>true</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
</children>
|
|
</element>
|
|
<element>
|
|
<name>thread4</name>
|
|
<type>thread</type>
|
|
<version>0.9.2</version>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
<children>
|
|
<element>
|
|
<name>fakesrc</name>
|
|
<type>fakesrc</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstFakeSrc::num_sources</name>
|
|
<value>1</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>fakesink</name>
|
|
<type>fakesink</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>fakesrc.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>identity.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>true</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
<element>
|
|
<name>identity</name>
|
|
<type>identity</type>
|
|
<version>0.9.2</version>
|
|
<pad>
|
|
<name>sink</name>
|
|
<peer>identity.src</peer>
|
|
</pad>
|
|
<pad>
|
|
<name>src</name>
|
|
<peer>fakesink.sink</peer>
|
|
</pad>
|
|
<arg>
|
|
<name>GstIdentity::loop_based</name>
|
|
<value>true</value>
|
|
</arg>
|
|
<arg>
|
|
<name>GtkObject::user_data</name>
|
|
</arg>
|
|
</element>
|
|
</children>
|
|
</element>
|
|
</GST-Pipeline>
|