mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
00ec0495e1
Original commit message from CVS: two more examples
80 lines
1.3 KiB
Text
80 lines
1.3 KiB
Text
<!-- ##### SECTION Title ##### -->
|
|
GstThread
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
A #GstBin that executes automatically using a separate thread
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
A bin that will become a thread if possible when the pipeline is started
|
|
up. It can contain any set of GstObjects.
|
|
</para>
|
|
<para>
|
|
A Thread can act as a toplevel bin as it has its own scheduler.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
#GstBin, #GstPipeline
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GstThread ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### SIGNAL GstThread::shutdown ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@gstthread: the object which received the signal.
|
|
|
|
<!-- ##### ARG GstThread:priority ##### -->
|
|
<para>
|
|
The thread priority
|
|
</para>
|
|
|
|
<!-- ##### VARIABLE gst_thread_current ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### ENUM GstThreadState ##### -->
|
|
<para>
|
|
Thread flags:
|
|
</para>
|
|
|
|
@GST_THREAD_STATE_SPINNING: The thread is runnning
|
|
@GST_THREAD_STATE_REAPING: The thread is ending.
|
|
@GST_THREAD_STATE_WAITING:
|
|
@GST_THREAD_FLAG_LAST: subclass use this to start their enumeration
|
|
|
|
<!-- ##### FUNCTION gst_thread_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@name:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_thread_set_priority ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@thread:
|
|
@priority:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_thread_get_current ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@Returns:
|
|
|
|
|