gstreamer/gstreamer-sharp/glue/task.c
Sebastian Dröge 48a5bce689 Fix the Gst.Task bindings
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.
2009-04-27 12:34:20 +02:00

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);
}