2000-12-30 16:13:17 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GstAutoplug
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2001-01-06 22:05:15 +00:00
|
|
|
Provide automatic element selection.
|
2000-12-30 16:13:17 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
The autoplugger can select a list of elements that are needed
|
|
|
|
to convert a certain GstCaps to another one.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_AUTOPLUG_MAX_COST ##### -->
|
|
|
|
<para>
|
2001-01-06 22:05:15 +00:00
|
|
|
The maximum cost of a certain connection.
|
2000-12-30 16:13:17 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GstAutoplugCostFunction ##### -->
|
|
|
|
<para>
|
2001-01-06 22:05:15 +00:00
|
|
|
Calculate the cost between two elements.
|
2000-12-30 16:13:17 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
@src: the source element
|
|
|
|
@dest: the destination element
|
|
|
|
@data: optional user data
|
|
|
|
@Returns: the cost for a connection between the two elements
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GstAutoplugListFunction ##### -->
|
|
|
|
<para>
|
2001-01-06 22:05:15 +00:00
|
|
|
Get a list of all elements. These elements will be used in autoplugging.
|
2000-12-30 16:13:17 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
@data: user data
|
|
|
|
@Returns: a GList of elements
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_autoplug_caps ##### -->
|
|
|
|
<para>
|
2000-12-31 17:02:47 +00:00
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@srccaps:
|
|
|
|
@sinkcaps:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_autoplug_pads ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@srcpad:
|
|
|
|
@sinkpad:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_autoplug_caps_list ##### -->
|
|
|
|
<para>
|
|
|
|
|
2000-12-30 16:13:17 +00:00
|
|
|
</para>
|
|
|
|
|
2000-12-31 17:02:47 +00:00
|
|
|
@srccaps:
|
|
|
|
@sinkcaps:
|
|
|
|
@Returns:
|
2000-12-30 16:13:17 +00:00
|
|
|
|
|
|
|
|