libs/gst/base/: Fix headings in docs and gtk-doc warnings.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c:
* libs/gst/base/gstbasetransform.c:
Fix headings in docs and gtk-doc warnings.
This commit is contained in:
Stefan Kost 2008-08-12 06:16:02 +00:00
parent 945bf1bdd3
commit 4711f2c4fa
3 changed files with 45 additions and 49 deletions

View file

@ -1,3 +1,9 @@
2008-08-12 Stefan Kost <ensonic@users.sf.net>
* libs/gst/base/gstbasesrc.c:
* libs/gst/base/gstbasetransform.c:
Fix headings in docs and gtk-doc warnings.
2008-08-11 Michael Smith <msmith@songbirdnest.com> 2008-08-11 Michael Smith <msmith@songbirdnest.com>
* gst/gstregistrybinary.c: * gst/gstregistrybinary.c:

View file

@ -33,14 +33,11 @@
* <listitem><para>live sources</para></listitem> * <listitem><para>live sources</para></listitem>
* </itemizedlist> * </itemizedlist>
* *
* <refsect2>
* <para>
* The source can be configured to operate in any #GstFormat with the * The source can be configured to operate in any #GstFormat with the
* gst_base_src_set_format() method. The currently set format determines * gst_base_src_set_format() method. The currently set format determines
* the format of the internal #GstSegment and any #GST_EVENT_NEWSEGMENT * the format of the internal #GstSegment and any #GST_EVENT_NEWSEGMENT
* events. The default format for #GstBaseSrc is #GST_FORMAT_BYTES. * events. The default format for #GstBaseSrc is #GST_FORMAT_BYTES.
* </para> *
* <para>
* #GstBaseSrc always supports push mode scheduling. If the following * #GstBaseSrc always supports push mode scheduling. If the following
* conditions are met, it also supports pull mode scheduling: * conditions are met, it also supports pull mode scheduling:
* <itemizedlist> * <itemizedlist>
@ -49,12 +46,10 @@
* <listitem><para>#GstBaseSrc::is_seekable returns %TRUE.</para> * <listitem><para>#GstBaseSrc::is_seekable returns %TRUE.</para>
* </listitem> * </listitem>
* </itemizedlist> * </itemizedlist>
* </para> *
* <para>
* Since 0.10.9, any #GstBaseSrc can enable pull based scheduling at any * Since 0.10.9, any #GstBaseSrc can enable pull based scheduling at any
* time by overriding #GstBaseSrc::check_get_range so that it returns %TRUE. * time by overriding #GstBaseSrc::check_get_range so that it returns %TRUE.
* </para> *
* <para>
* If all the conditions are met for operating in pull mode, #GstBaseSrc is * If all the conditions are met for operating in pull mode, #GstBaseSrc is
* automatically seekable in push mode as well. The following conditions must * automatically seekable in push mode as well. The following conditions must
* be met to make the element seekable in push mode when the format is not * be met to make the element seekable in push mode when the format is not
@ -71,40 +66,34 @@
* #GstBaseSrc::do_seek is implemented, performs the seek and returns %TRUE. * #GstBaseSrc::do_seek is implemented, performs the seek and returns %TRUE.
* </para></listitem> * </para></listitem>
* </itemizedlist> * </itemizedlist>
* </para> *
* <para>
* When the element does not meet the requirements to operate in pull mode, * When the element does not meet the requirements to operate in pull mode,
* the offset and length in the #GstBaseSrc::create method should be ignored. * the offset and length in the #GstBaseSrc::create method should be ignored.
* It is recommended to subclass #GstPushSrc instead, in this situation. If the * It is recommended to subclass #GstPushSrc instead, in this situation. If the
* element can operate in pull mode but only with specific offsets and * element can operate in pull mode but only with specific offsets and
* lengths, it is allowed to generate an error when the wrong values are passed * lengths, it is allowed to generate an error when the wrong values are passed
* to the #GstBaseSrc::create function. * to the #GstBaseSrc::create function.
* </para> *
* <para>
* #GstBaseSrc has support for live sources. Live sources are sources that when * #GstBaseSrc has support for live sources. Live sources are sources that when
* paused discard data, such as audio or video capture devices. A typical live * paused discard data, such as audio or video capture devices. A typical live
* source also produces data at a fixed rate and thus provides a clock to publish * source also produces data at a fixed rate and thus provides a clock to publish
* this rate. * this rate.
* Use gst_base_src_set_live() to activate the live source mode. * Use gst_base_src_set_live() to activate the live source mode.
* </para> *
* <para>
* A live source does not produce data in the PAUSED state. This means that the * A live source does not produce data in the PAUSED state. This means that the
* #GstBaseSrc::create method will not be called in PAUSED but only in PLAYING. * #GstBaseSrc::create method will not be called in PAUSED but only in PLAYING.
* To signal the pipeline that the element will not produce data, the return * To signal the pipeline that the element will not produce data, the return
* value from the READY to PAUSED state will be #GST_STATE_CHANGE_NO_PREROLL. * value from the READY to PAUSED state will be #GST_STATE_CHANGE_NO_PREROLL.
* </para> *
* <para>
* A typical live source will timestamp the buffers it creates with the * A typical live source will timestamp the buffers it creates with the
* current running time of the pipeline. This is one reason why a live source * current running time of the pipeline. This is one reason why a live source
* can only produce data in the PLAYING state, when the clock is actually * can only produce data in the PLAYING state, when the clock is actually
* distributed and running. * distributed and running.
* </para> *
* <para>
* Live sources that synchronize and block on the clock (an audio source, for * Live sources that synchronize and block on the clock (an audio source, for
* example) can since 0.10.12 use gst_base_src_wait_playing() when the ::create * example) can since 0.10.12 use gst_base_src_wait_playing() when the ::create
* function was interrupted by a state change to PAUSED. * function was interrupted by a state change to PAUSED.
* </para> *
* <para>
* The #GstBaseSrc::get_times method can be used to implement pseudo-live * The #GstBaseSrc::get_times method can be used to implement pseudo-live
* sources. * sources.
* It only makes sense to implement the ::get_times function if the source is * It only makes sense to implement the ::get_times function if the source is
@ -113,21 +102,17 @@
* the timestamps are transformed into the current running_time. * the timestamps are transformed into the current running_time.
* The base source will then wait for the calculated running_time before pushing * The base source will then wait for the calculated running_time before pushing
* out the buffer. * out the buffer.
* </para> *
* <para>
* For live sources, the base class will by default report a latency of 0. * For live sources, the base class will by default report a latency of 0.
* For pseudo live sources, the base class will by default measure the difference * For pseudo live sources, the base class will by default measure the difference
* between the first buffer timestamp and the start time of get_times and will * between the first buffer timestamp and the start time of get_times and will
* report this value as the latency. * report this value as the latency.
* Subclasses should override the query function when this behaviour is not * Subclasses should override the query function when this behaviour is not
* acceptable. * acceptable.
* </para> *
* <para>
* There is only support in #GstBaseSrc for exactly one source pad, which * There is only support in #GstBaseSrc for exactly one source pad, which
* should be named "src". A source implementation (subclass of #GstBaseSrc) * should be named "src". A source implementation (subclass of #GstBaseSrc)
* should install a pad template in its class_init function, like so: * should install a pad template in its class_init function, like so:
* </para>
* <para>
* <programlisting> * <programlisting>
* static void * static void
* my_element_class_init (GstMyElementClass *klass) * my_element_class_init (GstMyElementClass *klass)
@ -141,7 +126,8 @@
* gst_element_class_set_details (gstelement_class, &amp;details); * gst_element_class_set_details (gstelement_class, &amp;details);
* } * }
* </programlisting> * </programlisting>
* </para> *
* <refsect2>
* <title>Controlled shutdown of live sources in applications</title> * <title>Controlled shutdown of live sources in applications</title>
* <para> * <para>
* Applications that record from a live source may want to stop recording * Applications that record from a live source may want to stop recording
@ -152,23 +138,19 @@
* event down the pipeline. The application would then wait for an * event down the pipeline. The application would then wait for an
* EOS message posted on the pipeline's bus to know when all data has * EOS message posted on the pipeline's bus to know when all data has
* been processed and the pipeline can safely be stopped. * been processed and the pipeline can safely be stopped.
* </para> *
* <para>
* Since GStreamer 0.10.16 an application may send an EOS event to a source * Since GStreamer 0.10.16 an application may send an EOS event to a source
* element to make it perform the EOS logic (send EOS event downstream or post a * element to make it perform the EOS logic (send EOS event downstream or post a
* #GST_MESSAGE_SEGMENT_DONE on the bus). This can typically be done * #GST_MESSAGE_SEGMENT_DONE on the bus). This can typically be done
* with the gst_element_send_event() function on the element or its parent bin. * with the gst_element_send_event() function on the element or its parent bin.
* </para> *
* <para>
* After the EOS has been sent to the element, the application should wait for * After the EOS has been sent to the element, the application should wait for
* an EOS message to be posted on the pipeline's bus. Once this EOS message is * an EOS message to be posted on the pipeline's bus. Once this EOS message is
* received, it may safely shut down the entire pipeline. * received, it may safely shut down the entire pipeline.
* </para> *
* <para>
* The old behaviour for controlled shutdown introduced since GStreamer 0.10.3 * The old behaviour for controlled shutdown introduced since GStreamer 0.10.3
* is still available but deprecated as it is dangerous and less flexible. * is still available but deprecated as it is dangerous and less flexible.
* </para> *
* <para>
* Last reviewed on 2007-12-19 (0.10.16) * Last reviewed on 2007-12-19 (0.10.16)
* </para> * </para>
* </refsect2> * </refsect2>

View file

@ -44,7 +44,9 @@
* </para></listitem> * </para></listitem>
* </itemizedlist> * </itemizedlist>
* *
* Use Cases: * <refsect2>
* <title>Use Cases</title>
* <para>
* <orderedlist> * <orderedlist>
* <listitem> * <listitem>
* <itemizedlist><title>Passthrough mode</title> * <itemizedlist><title>Passthrough mode</title>
@ -158,8 +160,12 @@
* </itemizedlist> * </itemizedlist>
* </listitem> * </listitem>
* </orderedlist> * </orderedlist>
* * </para>
* <itemizedlist><title>Sub-class settable flags on GstBaseTransform</title> * </refsect2>
* <refsect2>
* <title>Sub-class settable flags on GstBaseTransform</title>
* <para>
* <itemizedlist>
* <listitem><para> * <listitem><para>
* <itemizedlist><title>passthrough</title> * <itemizedlist><title>passthrough</title>
* <listitem><para> * <listitem><para>
@ -188,8 +194,9 @@
* </itemizedlist> * </itemizedlist>
* </para></listitem> * </para></listitem>
* </itemizedlist> * </itemizedlist>
* * </para>
*/ * </refsect2>
*/
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include "config.h" # include "config.h"
@ -2108,9 +2115,9 @@ gst_base_transform_is_in_place (GstBaseTransform * trans)
* when a QOS event is received but subclasses can provide custom information * when a QOS event is received but subclasses can provide custom information
* when needed. * when needed.
* *
* Since: 0.10.5
*
* MT safe. * MT safe.
*
* Since: 0.10.5
*/ */
void void
gst_base_transform_update_qos (GstBaseTransform * trans, gst_base_transform_update_qos (GstBaseTransform * trans,
@ -2136,9 +2143,9 @@ gst_base_transform_update_qos (GstBaseTransform * trans,
* *
* Enable or disable QoS handling in the transform. * Enable or disable QoS handling in the transform.
* *
* Since: 0.10.5
*
* MT safe. * MT safe.
*
* Since: 0.10.5
*/ */
void void
gst_base_transform_set_qos_enabled (GstBaseTransform * trans, gboolean enabled) gst_base_transform_set_qos_enabled (GstBaseTransform * trans, gboolean enabled)
@ -2160,9 +2167,9 @@ gst_base_transform_set_qos_enabled (GstBaseTransform * trans, gboolean enabled)
* *
* Returns: TRUE if QoS is enabled. * Returns: TRUE if QoS is enabled.
* *
* Since: 0.10.5
*
* MT safe. * MT safe.
*
* Since: 0.10.5
*/ */
gboolean gboolean
gst_base_transform_is_qos_enabled (GstBaseTransform * trans) gst_base_transform_is_qos_enabled (GstBaseTransform * trans)
@ -2190,9 +2197,9 @@ gst_base_transform_is_qos_enabled (GstBaseTransform * trans)
* correctly, i.e. it can assume that the buffer contains neutral data but must * correctly, i.e. it can assume that the buffer contains neutral data but must
* unset the flag if the output is no neutral data. * unset the flag if the output is no neutral data.
* *
* Since: 0.10.16
*
* MT safe. * MT safe.
*
* Since: 0.10.16
*/ */
void void
gst_base_transform_set_gap_aware (GstBaseTransform * trans, gboolean gap_aware) gst_base_transform_set_gap_aware (GstBaseTransform * trans, gboolean gap_aware)
@ -2208,7 +2215,8 @@ gst_base_transform_set_gap_aware (GstBaseTransform * trans, gboolean gap_aware)
/** /**
* gst_base_transform_suggest: * gst_base_transform_suggest:
* @trans: a #GstBaseTransform * @trans: a #GstBaseTransform
* @gcaps: caps to suggest * @caps: caps to suggest
* @size: buffer size to suggest
* *
* Instructs @trans to suggest new @caps upstream. * Instructs @trans to suggest new @caps upstream.
* *