gst/gstiterator.c: Fix revision data.

Original commit message from CVS:
* gst/gstiterator.c:
Fix revision data.

* gst/gsttask.c:
* gst/gsttask.h:
Fix docs.
This commit is contained in:
Wim Taymans 2005-11-09 16:32:49 +00:00
parent 27daf02ce6
commit 5151ea3d9b
4 changed files with 28 additions and 17 deletions

View file

@ -1,3 +1,12 @@
2005-11-09 Wim Taymans <wim@fluendo.com>
* gst/gstiterator.c:
Fix revision data.
* gst/gsttask.c:
* gst/gsttask.h:
Fix docs.
2005-11-09 Wim Taymans <wim@fluendo.com> 2005-11-09 Wim Taymans <wim@fluendo.com>
* gst/gstevent.h: * gst/gstevent.h:

View file

@ -57,7 +57,7 @@
* </programlisting> * </programlisting>
* </example> * </example>
* *
* Last reviewed on 2005-10-28 (0.9.4) * Last reviewed on 2005-11-09 (0.9.4)
*/ */
#include "gst_private.h" #include "gst_private.h"

View file

@ -25,35 +25,37 @@
* @short_description: Abstraction of GStreamer streaming threads. * @short_description: Abstraction of GStreamer streaming threads.
* @see_also: #GstElement, #GstPad * @see_also: #GstElement, #GstPad
* *
* GstTasks are used by GstElements and GstPads to provide the data passing * #GstTask is used by #GstElement and #GstPad to provide the data passing
* threads in a pipeline. * threads in a #GstPipeline.
* *
* A GstPad will typically start a GstTask to push or pull data to/from the * A #GstPad will typically start a #GstTask to push or pull data to/from the
* peer pads. Most source elements start a GstTask to push data. In some cases * peer pads. Most source elements start a #GstTask to push data. In some cases
* a demuxer element can start a GstTask to pull data from a peer element. This * a demuxer element can start a #GstTask to pull data from a peer element. This
* is typically done when the demuxer can perform random access on the upstream * is typically done when the demuxer can perform random access on the upstream
* peer element for improved performance. * peer element for improved performance.
* *
* Although convenience functions exist on GstPad to start/pause/stop tasks, it * Although convenience functions exist on #GstPad to start/pause/stop tasks, it
* might sometimes be needed to create a GstTask manually if it is not related to * might sometimes be needed to create a #GstTask manually if it is not related to
* a GstPad. * a #GstPad.
* *
* Before the GstTask can be run, it needs a GStaticRecMutex that can be set with * Before the #GstTask can be run, it needs a #GStaticRecMutex that can be set with
* gst_task_set_lock(). * gst_task_set_lock().
* *
* The task can be started, paused and stopped with gst_task_start(), gst_task_pause() * The task can be started, paused and stopped with gst_task_start(), gst_task_pause()
* and gst_task_stop() respectively. * and gst_task_stop() respectively.
* *
* A GstTask will repeadedly call the GstTaskFunction with the user provided data * A #GstTask will repeadedly call the #GstTaskFunction with the user data
* that was provided when creating the task with gst_task_create(). Before calling * that was provided when creating the task with gst_task_create(). Before calling
* the function it will acquire the provided lock. * the function it will acquire the provided lock.
* *
* Stopping a task with gst_task_stop() will not immediatly make sure the task is * Stopping a task with gst_task_stop() will not immediatly make sure the task is
* not running anymore. Use gst_task_join() to make sure the task is completely * not running anymore. Use gst_task_join() to make sure the task is completely
* stopped and the thread is stopped. * stopped and the thread is stopped.
* *
* After creating a GstTask, use gst_object_unref() to free its resources. This can * After creating a #GstTask, use gst_object_unref() to free its resources. This can
* only be done it the task is not running anymore. * only be done it the task is not running anymore.
*
* Last reviewed on 2005-11-09 (0.9.4)
*/ */
#include "gst_private.h" #include "gst_private.h"
@ -316,7 +318,7 @@ gst_task_get_state (GstTask * task)
* @task: The #GstTask to start * @task: The #GstTask to start
* *
* Starts @task. The @task must have a lock associated with it using * Starts @task. The @task must have a lock associated with it using
* #gst_task_set_lock() or thsi function will return FALSE. * gst_task_set_lock() or thsi function will return FALSE.
* *
* Returns: TRUE if the task could be started. * Returns: TRUE if the task could be started.
* *
@ -378,7 +380,7 @@ no_lock:
* *
* Stops @task. This method merely schedules the task to stop and * Stops @task. This method merely schedules the task to stop and
* will not wait for the task to have completely stopped. Use * will not wait for the task to have completely stopped. Use
* #gst_task_join() to stop and wait for completion. * gst_task_join() to stop and wait for completion.
* *
* Returns: TRUE if the task could be stopped. * Returns: TRUE if the task could be stopped.
* *
@ -466,7 +468,7 @@ gst_task_pause (GstTask * task)
* @task: The #GstTask to join * @task: The #GstTask to join
* *
* Joins @task. After this call, it is safe to unref the task * Joins @task. After this call, it is safe to unref the task
* and clean up the lock set with #gst_task_set_lock(). * and clean up the lock set with gst_task_set_lock().
* *
* The task will automatically be stopped with this call. * The task will automatically be stopped with this call.
* *

View file

@ -116,7 +116,7 @@ typedef enum {
* @data: data passed to the task function * @data: data passed to the task function
* @running: a flag indicating that the task is running. * @running: a flag indicating that the task is running.
* *
* The GstTask object. * The #GstTask object.
*/ */
struct _GstTask { struct _GstTask {
GstObject object; GstObject object;