Name
GstThread -- A bin that will become a thread
Description
A bin that will become a thread if possible when the pipeline is started
up. Can contain any set of GstObjects except another GstThread. All
starting points and/or clocked events must be registered with this object,
to be dealt with in the separate thread.
Details
enum GstThreadState
typedef enum {
GST_THREAD_CREATE = GST_BIN_FLAG_LAST,
GST_THREAD_STATE_SPINNING,
GST_THREAD_STATE_REAPING,
/* padding */
GST_THREAD_FLAG_LAST = GST_BIN_FLAG_LAST + 4,
} GstThreadState; |
Thread flags:
gst_thread_new ()
Create a new thread with the given name.
Args
- "create_thread" (gboolean : Read / Write)
TRUE if the thread should be created.