<!-- ##### SECTION Long_Description ##### -->
<para>
A #GstElement is connected to other elements via "pads", which are extremely
-light-weight generic connections.
-After two pad are retrieved from an element with gst_element_get_pad(),
-the pads can be connected with gst_pad_connect().
+light-weight generic connections points.
+After two pads are retrieved from an element with gst_element_get_pad(),
+the pads can be connected with gst_pad_connect(). (For quick connections,
+you can also use gst_element_connect(), which will make the obvious
+connection for you if it's straightforward).
</para>
<para>
Pads are typically created from a #GstPadTemplate with
<para>
Pads have #GstCaps attached to it to describe the media type they
are capable of dealing with.
-gst_pad_get_caps() and gst_pad_set_caps() are used to
+gst_pad_get_caps() and gst_pad_try_set_caps() are used to
manipulate the caps of the pads.
Pads created from a pad template cannot set capabilities that are
-incompatible with the pad templates capabilities.
+incompatible with the pad template capabilities.
</para>
<para>
Pads without pad templates can be created with gst_pad_new(),
A dispatcher function is called for all internally connected pads, see
gst_pad_dispatcher().
</para>
+
@pad: the #GstPad that is dispatched.
@data: the gpointer to optional user data.
@Returns: TRUE if the dispatching procedure has to be stopped.
the given pad on the inside of the parent element.
The caller must call g_list_free() on it after use.
+
<!-- ##### ENUM GstPadQueryType ##### -->
<para>
The different supported query types.
</para>
@GST_PAD_QUERY_NONE:
-@GST_PAD_QUERY_START:
@GST_PAD_QUERY_TOTAL: Query the total stream time.
@GST_PAD_QUERY_POSITION: Query the current stream position.
@GST_PAD_QUERY_LATENCY: Query the latency on the pad.
@GST_PAD_QUERY_JITTER: Query the average jitter beteen optimal processing
and current processing.
+@GST_PAD_QUERY_START:
@GST_PAD_QUERY_SEGMENT_END: Query the end position of the currently
executing segment.
@GST_PAD_QUERY_RATE:
@Returns:
-<!-- ##### FUNCTION gst_pad_set_scheduler ##### -->
-<para>
-
-</para>
-
-@pad:
-@sched:
-
-
-<!-- ##### FUNCTION gst_pad_unset_scheduler ##### -->
-<para>
-
-</para>
-
-@pad:
-
-
<!-- ##### FUNCTION gst_pad_get_real_parent ##### -->
<para>
@Returns:
-<!-- ##### FUNCTION gst_pad_ghost_save_thyself ##### -->
-<para>
-
-</para>
-
-@pad:
-@bin:
-@parent:
-@Returns:
-
-
-<!-- ##### FUNCTION gst_pad_peek ##### -->
-<para>
-
-</para>
-
-@pad:
-@Returns:
-
-
<!-- ##### FUNCTION gst_pad_select ##### -->
<para>
@appfilter:
@getcapsfunc:
@direction:
-@sched:
-@sched_private:
@connectfunc:
@peer:
-@bufpen:
+@sched_private:
@chainfunc:
@chainhandler:
@getfunc:
@intconnfunc:
@bufferpoolfunc:
-<!-- ##### MACRO GST_RPAD_SCHED ##### -->
-<para>
-Get the scheduler of this real pad.
-</para>
-
-@pad: the real pad to query.
-
-
<!-- ##### MACRO GST_RPAD_DIRECTION ##### -->
<para>
Get the direction of the real pad.
@pad: the real pad to query.
-<!-- ##### MACRO GST_RPAD_BUFPEN ##### -->
-<para>
-Get the bufpen of the real pad.
-</para>
-
-@pad: the real pad to query.
-
-
<!-- ##### MACRO GST_RPAD_CHAINFUNC ##### -->
<para>
Get the chain function of the real pad.