mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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:
parent
27daf02ce6
commit
5151ea3d9b
4 changed files with 28 additions and 17 deletions
|
@ -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>
|
||||
|
||||
* gst/gstevent.h:
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
* </programlisting>
|
||||
* </example>
|
||||
*
|
||||
* Last reviewed on 2005-10-28 (0.9.4)
|
||||
* Last reviewed on 2005-11-09 (0.9.4)
|
||||
*/
|
||||
|
||||
#include "gst_private.h"
|
||||
|
|
|
@ -25,26 +25,26 @@
|
|||
* @short_description: Abstraction of GStreamer streaming threads.
|
||||
* @see_also: #GstElement, #GstPad
|
||||
*
|
||||
* GstTasks are used by GstElements and GstPads to provide the data passing
|
||||
* threads in a pipeline.
|
||||
* #GstTask is used by #GstElement and #GstPad to provide the data passing
|
||||
* threads in a #GstPipeline.
|
||||
*
|
||||
* 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
|
||||
* a demuxer element can start a GstTask to pull data from a peer element. This
|
||||
* 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
|
||||
* 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
|
||||
* peer element for improved performance.
|
||||
*
|
||||
* 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
|
||||
* a GstPad.
|
||||
* 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
|
||||
* 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().
|
||||
*
|
||||
* The task can be started, paused and stopped with gst_task_start(), gst_task_pause()
|
||||
* 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
|
||||
* the function it will acquire the provided lock.
|
||||
*
|
||||
|
@ -52,8 +52,10 @@
|
|||
* not running anymore. Use gst_task_join() to make sure the task is completely
|
||||
* 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.
|
||||
*
|
||||
* Last reviewed on 2005-11-09 (0.9.4)
|
||||
*/
|
||||
|
||||
#include "gst_private.h"
|
||||
|
@ -316,7 +318,7 @@ gst_task_get_state (GstTask * task)
|
|||
* @task: The #GstTask to start
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
|
@ -378,7 +380,7 @@ no_lock:
|
|||
*
|
||||
* Stops @task. This method merely schedules the task to stop and
|
||||
* 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.
|
||||
*
|
||||
|
@ -466,7 +468,7 @@ gst_task_pause (GstTask * task)
|
|||
* @task: The #GstTask to join
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
|
|
|
@ -116,7 +116,7 @@ typedef enum {
|
|||
* @data: data passed to the task function
|
||||
* @running: a flag indicating that the task is running.
|
||||
*
|
||||
* The GstTask object.
|
||||
* The #GstTask object.
|
||||
*/
|
||||
struct _GstTask {
|
||||
GstObject object;
|
||||
|
|
Loading…
Reference in a new issue