mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 10:56:38 +00:00
48a5bce689
What still needs to be done is to add a way to set a custom lock to the task, currently a newly created task can only get a lock by making it a pad task.
13 lines
227 B
C
13 lines
227 B
C
#include <gst/gst.h>
|
|
|
|
uint
|
|
gstsharp_gst_task_get_cond_offset (void)
|
|
{
|
|
return (uint) G_STRUCT_OFFSET (GstTask, cond);
|
|
}
|
|
|
|
uint
|
|
gstsharp_gst_task_get_running_offset (void)
|
|
{
|
|
return (uint) G_STRUCT_OFFSET (GstTask, running);
|
|
}
|