2002-01-15 00:41:22 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GstThread
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2004-03-25 04:20:33 +00:00
|
|
|
A #GstBin that executes automatically using a separate thread
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
A bin that will become a thread if possible when the pipeline is started
|
2002-06-12 22:27:18 +00:00
|
|
|
up. It can contain any set of GstObjects.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
A Thread can act as a toplevel bin as it has its own scheduler.
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
2002-06-12 22:27:18 +00:00
|
|
|
#GstBin, #GstPipeline
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2004-04-08 14:45:13 +00:00
|
|
|
<!-- ##### STRUCT GstThread ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2004-05-03 16:03:24 +00:00
|
|
|
<!-- ##### SIGNAL GstThread::shutdown ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@gstthread: the object which received the signal.
|
|
|
|
|
|
|
|
<!-- ##### ARG GstThread:priority ##### -->
|
|
|
|
<para>
|
|
|
|
The thread priority
|
|
|
|
</para>
|
|
|
|
|
2004-07-26 16:34:35 +00:00
|
|
|
<!-- ##### MACRO GST_TYPE_THREAD ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
2004-03-25 04:20:33 +00:00
|
|
|
<!-- ##### VARIABLE gst_thread_current ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
<!-- ##### ENUM GstThreadState ##### -->
|
|
|
|
<para>
|
|
|
|
Thread flags:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@GST_THREAD_STATE_SPINNING: The thread is runnning
|
|
|
|
@GST_THREAD_STATE_REAPING: The thread is ending.
|
2003-06-29 14:57:19 +00:00
|
|
|
@GST_THREAD_MUTEX_LOCKED:
|
2002-01-15 00:41:22 +00:00
|
|
|
@GST_THREAD_FLAG_LAST: subclass use this to start their enumeration
|
|
|
|
|
2004-03-25 04:20:33 +00:00
|
|
|
<!-- ##### FUNCTION gst_thread_new ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@name:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_thread_set_priority ##### -->
|
2002-01-15 00:41:22 +00:00
|
|
|
<para>
|
2004-03-25 04:20:33 +00:00
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
</para>
|
|
|
|
|
2004-03-25 04:20:33 +00:00
|
|
|
@thread:
|
|
|
|
@priority:
|
2002-01-15 00:41:22 +00:00
|
|
|
|
2004-03-25 04:20:33 +00:00
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_thread_get_current ##### -->
|
2004-02-04 21:29:38 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-03-15 14:43:35 +00:00
|
|
|
@Returns:
|
2004-02-04 21:29:38 +00:00
|
|
|
|
|
|
|
|