GstTask

Undocumented in source.

struct GstTask {
GstObject object;
GThread* thread;
GstTaskPrivate* priv;
void*[4] GstReserved;
}

Members

Variables

cond
GCond cond;

used to pause/resume the task

func
GstTaskFunction func;

the function executed by this task

lock
GRecMutex* lock;

The lock taken when iterating the task function

notify
GDestroyNotify notify;

GDestroyNotify for user_data

running
bool running;

a flag indicating that the task is running

state
GstTaskState state;

the state of the task

userData
void* userData;

user_data passed to the task function