2002-01-15 00:41:22 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GstElement
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
Base class for all pipeline elements
|
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
GstElement is the base class needed to construct an element that can be
|
2002-04-19 10:25:40 +00:00
|
|
|
used in a GStreamer pipeline. As such, it is not a functional entity, and
|
2002-01-15 00:41:22 +00:00
|
|
|
cannot do anything when placed in a pipeline.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
The name of a GstElement can be get with gst_element_get_name() and set with
|
|
|
|
gst_element_set_name(). For speed, GST_ELEMENT_NAME() can be used in the
|
|
|
|
core.
|
|
|
|
Do not use this in plug-ins or applications in order to retain ABI
|
|
|
|
compatibility.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-01-24 18:08:39 +00:00
|
|
|
All elements have pads (of the type #GstPad). These pads link to pads on
|
|
|
|
other elements. Buffers flow between these linked pads.
|
2002-04-19 10:25:40 +00:00
|
|
|
A GstElement has a GList of #GstPad structures for all their input (or sink)
|
|
|
|
and output (or source) pads.
|
|
|
|
Core and plug-in writers can add and remove pads with gst_element_add_pad()
|
|
|
|
and gst_element_remove_pad().
|
|
|
|
Application writers can manipulate ghost pads (copies of real pads inside a bin)
|
|
|
|
with gst_element_add_ghost_pad() and gst_element_remove_ghost_pad().
|
|
|
|
A pad of an element can be retrieved by name with gst_element_get_pad().
|
|
|
|
A GList of all pads can be retrieved with gst_element_get_pad_list().
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-01-24 18:08:39 +00:00
|
|
|
Elements can be linked through their pads.
|
|
|
|
If the link is straightforward, use the gst_element_link()
|
|
|
|
convenience function to link two elements, or gst_element_link_many()
|
2002-04-19 10:25:40 +00:00
|
|
|
for more elements in a row.
|
2003-01-24 18:08:39 +00:00
|
|
|
Use gst_element_link_filtered() to link two elements constrained by
|
2002-04-19 10:25:40 +00:00
|
|
|
a specified set of #GstCaps.
|
2003-01-24 18:08:39 +00:00
|
|
|
For finer control, use gst_element_link_pads() and
|
|
|
|
gst_element_link_pads_filtered() to specify the pads to link on
|
2002-04-19 10:25:40 +00:00
|
|
|
each element by name.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
Each element has a state (see #GstElementState). You can get and set the state
|
|
|
|
of an element with gst_element_get_state() and gst_element_set_state().
|
|
|
|
You can wait for an element to change it's state with gst_element_wait_state_change().
|
|
|
|
To get a string representation of a #GstElementState, use
|
2002-07-12 23:21:20 +00:00
|
|
|
gst_element_state_get_name().
|
2002-04-19 10:25:40 +00:00
|
|
|
</para>
|
2002-01-15 00:41:22 +00:00
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<para>
|
|
|
|
You can get and set a #GstClock on an element using gst_element_get_clock()
|
|
|
|
and gst_element_set_clock(). You can wait for the clock to reach a given
|
|
|
|
#GstClockTime using gst_element_clock_wait().
|
|
|
|
</para>
|
2002-04-23 14:56:44 +00:00
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
#GstElementFactory, #GstPad
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- basic object functions -->
|
2002-01-15 00:41:22 +00:00
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### STRUCT GstElement ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-12-14 13:02:16 +00:00
|
|
|
The element object
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2003-11-24 02:09:23 +00:00
|
|
|
<!-- ##### SIGNAL GstElement::eos ##### -->
|
|
|
|
<para>
|
|
|
|
Signal emited when the element goes to PAUSED due to an end-of-stream
|
|
|
|
condition.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@gstelement: the object which received the signal.
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GstElement::error ##### -->
|
|
|
|
<para>
|
|
|
|
Is triggered whenever an error occured.
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@gstelement: the object which received the signal.
|
|
|
|
@arg1: the error message
|
|
|
|
@arg2:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GstElement::found-tag ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@gstelement: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
@arg2:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GstElement::new-pad ##### -->
|
|
|
|
<para>
|
|
|
|
Is triggered whenever a new pad is added to an element.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@gstelement: the object which received the signal.
|
|
|
|
@arg1: the new pad that was added
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GstElement::pad-removed ##### -->
|
|
|
|
<para>
|
|
|
|
Is triggered whenever a pad has been removed from the element.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@gstelement: the object which received the signal.
|
|
|
|
@arg1: The pad that was removed.
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GstElement::state-change ##### -->
|
|
|
|
<para>
|
|
|
|
Is triggered whenever the state of an element changes.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@gstelement: the object which received the signal.
|
|
|
|
@arg1: the new state of the object
|
|
|
|
@arg2:
|
|
|
|
|
2002-12-08 01:13:09 +00:00
|
|
|
<!-- ##### MACRO gst_element_get_name ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-12-08 01:13:09 +00:00
|
|
|
Gets the name of the element.
|
2002-04-19 10:25:40 +00:00
|
|
|
</para>
|
2002-01-15 00:41:22 +00:00
|
|
|
|
2002-12-14 13:02:16 +00:00
|
|
|
@elem:
|
2002-12-08 01:13:09 +00:00
|
|
|
@Returns: the name of the element.
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2003-01-24 18:08:39 +00:00
|
|
|
<!-- link -->
|
2002-12-14 13:02:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO gst_element_set_name ##### -->
|
|
|
|
<para>
|
|
|
|
Sets the name of the element, getting rid of the old name if there was one.
|
|
|
|
</para>
|
|
|
|
|
2002-12-14 16:32:28 +00:00
|
|
|
@elem: a #GstElement to set the name of.
|
2002-12-14 13:02:16 +00:00
|
|
|
@name: the new name of the element.
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_get_factory ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element:
|
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_add_pad ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element:
|
|
|
|
@pad:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_remove_pad ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element:
|
|
|
|
@pad:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_add_ghost_pad ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element:
|
|
|
|
@pad:
|
|
|
|
@name:
|
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_remove_ghost_pad ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element:
|
|
|
|
@pad:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- pad template manipulation -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_get_pad ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element:
|
|
|
|
@name:
|
|
|
|
@Returns: GList of #GstPads
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_get_static_pad ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element:
|
|
|
|
@name:
|
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_get_request_pad ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element:
|
|
|
|
@name:
|
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-06-12 22:27:18 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_release_request_pad ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@pad:
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_get_pad_list ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element:
|
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-06-12 22:27:18 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_get_pad_template ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@name:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_get_pad_template_list ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element:
|
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- scheduling -->
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_class_add_pad_template ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@klass:
|
|
|
|
@templ:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2003-01-24 18:08:39 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_link ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@src:
|
|
|
|
@dest:
|
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2003-01-24 18:08:39 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_link_many ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element_1:
|
|
|
|
@element_2:
|
|
|
|
@Varargs:
|
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2003-01-24 18:08:39 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_link_filtered ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@src:
|
|
|
|
@dest:
|
|
|
|
@filtercaps:
|
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2003-01-24 18:08:39 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_link_pads ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@src:
|
|
|
|
@srcpadname:
|
|
|
|
@dest:
|
|
|
|
@destpadname:
|
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2003-01-24 18:08:39 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_link_pads_filtered ##### -->
|
2002-03-31 14:00:33 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-03-31 14:00:33 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@src:
|
|
|
|
@srcpadname:
|
|
|
|
@dest:
|
|
|
|
@destpadname:
|
|
|
|
@filtercaps:
|
|
|
|
@Returns:
|
2002-03-31 14:00:33 +00:00
|
|
|
|
|
|
|
|
2003-01-24 18:08:39 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_unlink ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@src:
|
|
|
|
@dest:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2003-01-24 18:08:39 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_unlink_many ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element_1:
|
|
|
|
@element_2:
|
|
|
|
@Varargs:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2003-01-24 18:08:39 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_unlink_pads ##### -->
|
2002-03-31 14:00:33 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-03-31 14:00:33 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@src:
|
|
|
|
@srcpadname:
|
|
|
|
@dest:
|
|
|
|
@destpadname:
|
2002-03-31 14:00:33 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- pad manipulation -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_get_compatible_pad ##### -->
|
2002-03-31 14:00:33 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-03-31 14:00:33 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element:
|
|
|
|
@pad:
|
|
|
|
@Returns:
|
2002-03-31 14:00:33 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_get_compatible_pad_filtered ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
2002-04-19 10:25:40 +00:00
|
|
|
@pad:
|
|
|
|
@filtercaps:
|
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-06-12 22:27:18 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_get_compatible_pad_template ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@compattempl:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_set_state ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element:
|
|
|
|
@state:
|
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_get_state ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
2002-04-19 10:25:40 +00:00
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-23 14:56:44 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_state_get_name ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2002-04-23 14:56:44 +00:00
|
|
|
@state:
|
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-23 14:56:44 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_wait_state_change ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2002-04-23 14:56:44 +00:00
|
|
|
@element:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_error ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
2002-04-19 10:25:40 +00:00
|
|
|
@error:
|
|
|
|
@Varargs:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_set_eos ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_interrupt ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
2002-04-19 10:25:40 +00:00
|
|
|
@Returns:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_yield ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
|
|
|
|
|
2002-06-12 22:27:18 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_release_locks ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_get_clock ##### -->
|
2002-03-31 14:00:33 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_set_clock ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
2002-04-19 10:25:40 +00:00
|
|
|
@clock:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_clock_wait ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
2002-12-30 17:54:02 +00:00
|
|
|
@id:
|
2002-06-12 22:27:18 +00:00
|
|
|
@jitter:
|
2002-04-19 10:25:40 +00:00
|
|
|
@Returns:
|
2002-12-30 17:54:02 +00:00
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@clock:
|
|
|
|
@time:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-12-14 13:02:16 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_provides_clock ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_requires_clock ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_set_index ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@index:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_get_index ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_is_indexable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_set_loop_function ##### -->
|
2002-04-07 23:32:16 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
2002-04-19 10:25:40 +00:00
|
|
|
@loop:
|
2002-04-07 23:32:16 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### USER_FUNCTION GstElementLoopFunction ##### -->
|
2002-04-07 23:32:16 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
This function type is used to specify a loop function for the element. It
|
|
|
|
is passed the element in question, and is expect to return only in error
|
|
|
|
circumstances.
|
2002-04-07 23:32:16 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@element: The element in question.
|
2002-04-07 23:32:16 +00:00
|
|
|
|
|
|
|
|
2002-05-25 15:36:59 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_get_scheduler ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2002-05-25 15:36:59 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_set_scheduler ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
2002-04-19 10:25:40 +00:00
|
|
|
@sched:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-12-08 01:13:09 +00:00
|
|
|
<!-- ##### MACRO gst_element_get_parent ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-12-08 01:13:09 +00:00
|
|
|
Gets the parent of an element.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-12-14 16:32:28 +00:00
|
|
|
@elem: a #GstElement to get the parent of.
|
2002-12-08 01:13:09 +00:00
|
|
|
@Returns: the #GstObject parent of the element.
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-12-08 01:13:09 +00:00
|
|
|
<!-- ##### MACRO gst_element_set_parent ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-12-08 01:13:09 +00:00
|
|
|
Sets the parent of an element.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-12-14 16:32:28 +00:00
|
|
|
@elem: a #GstElement to set the parent of.
|
2002-12-08 01:13:09 +00:00
|
|
|
@parent: the new #GstObject parent of the object.
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_get_managing_bin ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@Returns:
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- clocking -->
|
2002-01-15 00:41:22 +00:00
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
|
2002-06-12 22:27:18 +00:00
|
|
|
<!-- ##### USER_FUNCTION GstElementPostRunFunction ##### -->
|
|
|
|
<para>
|
2002-07-12 23:21:20 +00:00
|
|
|
The signature of the function to execute before this element
|
|
|
|
is scheduled.
|
2002-06-12 22:27:18 +00:00
|
|
|
</para>
|
|
|
|
|
2002-07-12 23:21:20 +00:00
|
|
|
@element: The element
|
2002-06-12 22:27:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GstElementPreRunFunction ##### -->
|
|
|
|
<para>
|
2002-07-12 23:21:20 +00:00
|
|
|
The signature of the function to execute after this element
|
|
|
|
is scheduled.
|
2002-06-12 22:27:18 +00:00
|
|
|
</para>
|
|
|
|
|
2002-07-12 23:21:20 +00:00
|
|
|
@element: The element
|
2002-06-12 22:27:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_disable_threadsafe_properties ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_enable_threadsafe_properties ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_get ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@first_property_name:
|
|
|
|
@Varargs:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_get_property ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@property_name:
|
|
|
|
@value:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_get_valist ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@first_property_name:
|
|
|
|
@var_args:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_set ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@first_property_name:
|
|
|
|
@Varargs:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_set_pending_properties ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_set_property ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@property_name:
|
|
|
|
@value:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_set_valist ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@first_property_name:
|
|
|
|
@var_args:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_query ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@type:
|
|
|
|
@format:
|
|
|
|
@value:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_send_event ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2003-02-10 23:01:55 +00:00
|
|
|
<!-- ##### FUNCTION gst_element_get_event_masks ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_get_formats ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_get_query_types ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_convert ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@element:
|
|
|
|
@src_format:
|
|
|
|
@src_value:
|
|
|
|
@dest_format:
|
|
|
|
@dest_value:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2002-12-14 13:02:16 +00:00
|
|
|
<!-- ##### MACRO gst_element_default_deep_notify ##### -->
|
|
|
|
<para>
|
|
|
|
The default deep notify handler that prints out the property change
|
|
|
|
notifications to stdout.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_element_default_error ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@object:
|
|
|
|
@orig:
|
|
|
|
@error:
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### ENUM GstElementState ##### -->
|
2002-03-31 14:00:33 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
This enum defines the standard states an element may be in. You will normally
|
|
|
|
use gst_element_set_state() to change the state of an element.
|
2002-03-31 14:00:33 +00:00
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@GST_STATE_VOID_PENDING:
|
|
|
|
@GST_STATE_NULL: Reset the state of an element.
|
|
|
|
@GST_STATE_READY: will make the element ready to start processing data. some
|
|
|
|
elements might have a non trivial way to initialize themselves.
|
|
|
|
@GST_STATE_PAUSED: means there really is data flowing temporary stops the data flow.
|
|
|
|
@GST_STATE_PLAYING: means there really is data flowing through the graph.
|
2002-03-31 14:00:33 +00:00
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### ENUM GstElementStateReturn ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
This enum defines the standard return values that an element
|
|
|
|
can return after a state change.
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@GST_STATE_FAILURE: the element could not perform the state change
|
|
|
|
@GST_STATE_SUCCESS: the element successfully changed its state
|
|
|
|
@GST_STATE_ASYNC: the element will asynchronously change its state as soon as possible
|
2002-04-07 23:32:16 +00:00
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_NUM_STATES ##### -->
|
2002-04-07 23:32:16 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
The maximun number of states.
|
2002-04-07 23:32:16 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_STATE ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
This macro returns the current state of the element.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@obj: Element to return state for.
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_STATE_PENDING ##### -->
|
2002-03-31 14:00:33 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
This macro returns the currently pending state of the element.
|
2002-03-31 14:00:33 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@obj: Element to return the pending state for.
|
2002-03-31 14:00:33 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_STATE_TRANSITION ##### -->
|
2002-03-31 14:00:33 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
Returns the state transition this object is going through.
|
2002-03-31 14:00:33 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@obj: the Element to return the state transition for
|
2002-03-31 14:00:33 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_STATE_NULL_TO_READY ##### -->
|
2002-03-31 14:00:33 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
The Element is going from the NULL state to the READY state.
|
2002-03-31 14:00:33 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_STATE_READY_TO_PAUSED ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
The Element is going from the READY state to the PAUSED state.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_STATE_PAUSED_TO_READY ##### -->
|
2002-03-31 14:00:33 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
The Element is going from the PAUSED state to the READY state.
|
2002-03-31 14:00:33 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_STATE_PLAYING_TO_PAUSED ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
The Element is going from the PLAYING state to the PAUSED state.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_STATE_PAUSED_TO_PLAYING ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
The Element is going from the PAUSED state to the PLAYING state.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_STATE_READY_TO_NULL ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
The Element is going from the READY state to the NULL state.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### ENUM GstElementFlags ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
This enum defines the standard flags that an element may have.
|
|
|
|
</para>
|
2002-01-15 00:41:22 +00:00
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@GST_ELEMENT_COMPLEX:
|
|
|
|
@GST_ELEMENT_DECOUPLED:
|
|
|
|
@GST_ELEMENT_THREAD_SUGGESTED:
|
|
|
|
@GST_ELEMENT_INFINITE_LOOP:
|
|
|
|
@GST_ELEMENT_NEW_LOOPFUNC:
|
|
|
|
@GST_ELEMENT_EVENT_AWARE:
|
2002-06-12 22:27:18 +00:00
|
|
|
@GST_ELEMENT_USE_THREADSAFE_PROPERTIES:
|
|
|
|
@GST_ELEMENT_SCHEDULER_PRIVATE1:
|
|
|
|
@GST_ELEMENT_SCHEDULER_PRIVATE2:
|
2003-06-29 14:57:19 +00:00
|
|
|
@GST_ELEMENT_LOCKED_STATE:
|
|
|
|
@GST_ELEMENT_ERROR:
|
2002-04-19 10:25:40 +00:00
|
|
|
@GST_ELEMENT_FLAG_LAST:
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_ELEMENT_IS_THREAD_SUGGESTED ##### -->
|
|
|
|
<para>
|
|
|
|
Queries whether the Element should be placed in a thread.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@obj: a #GstElement to query
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_ELEMENT_IS_DECOUPLED ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
Queries if the Element is decoupled.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@obj: a #GstElement to query
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_ELEMENT_IS_EVENT_AWARE ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
Query wether this element can handle events.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@obj: a #GstElement to query
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_ELEMENT_PARENT ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
Get the parent object of this element.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@obj: a #GstElement to query
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_ELEMENT_NAME ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
Gets the name of this element. Used in the core. Not ABI-compatible.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@obj: A #GstElement to query
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_ELEMENT_PADS ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
Get the pads of this elements.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@obj: a #GstElement to query
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_ELEMENT_SCHED ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
Get the scheduler of this element.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@obj: a #GstElement to query
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
<!-- ##### MACRO GST_ELEMENT_MANAGER ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2002-04-19 10:25:40 +00:00
|
|
|
Get the manager of this element.
|
|
|
|
</para>
|
2002-01-15 00:41:22 +00:00
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@obj: a #GstElement to query
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_ELEMENT_CLOCK ##### -->
|
|
|
|
<para>
|
|
|
|
Get the clock of this element
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2002-04-19 10:25:40 +00:00
|
|
|
@obj: a #GstElement to query
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
|
2003-02-10 23:01:55 +00:00
|
|
|
<!-- ##### MACRO GST_ELEMENT_EVENT_MASK_FUNCTION ##### -->
|
|
|
|
<para>
|
|
|
|
A helper macro to create a mask function
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@functionname: the name of the mask function
|
|
|
|
@...: Masks
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_ELEMENT_FORMATS_FUNCTION ##### -->
|
|
|
|
<para>
|
|
|
|
Halper macro to create element format functions
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@functionname: The function name
|
|
|
|
@...: formats
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_ELEMENT_QUERY_TYPE_FUNCTION ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2003-02-10 23:01:55 +00:00
|
|
|
Helper macro to create query type functions
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@functionname: The function name
|
|
|
|
@...: list of query types.
|
2002-01-15 00:41:22 +00:00
|
|
|
|
2003-02-10 23:01:55 +00:00
|
|
|
|