Details
GST_SCHEDULER_PARENT()
#define GST_SCHEDULER_PARENT(sched) ((sched)->parent) |
Get the parent object of this scheduler.
GST_SCHEDULER_STATE()
#define GST_SCHEDULER_STATE(sched) ((sched)->state) |
Get the state of the scheduler.
enum GstSchedulerState
typedef enum {
GST_SCHEDULER_STATE_NONE,
GST_SCHEDULER_STATE_RUNNING,
GST_SCHEDULER_STATE_STOPPED,
GST_SCHEDULER_STATE_ERROR
} GstSchedulerState; |
enum GstSchedulerFlags
typedef enum {
/* this scheduler works with a fixed clock */
GST_SCHEDULER_FLAG_FIXED_CLOCK = GST_OBJECT_FLAG_LAST,
/* padding */
GST_SCHEDULER_FLAG_LAST = GST_OBJECT_FLAG_LAST + 4
} GstSchedulerFlags; |
gst_scheduler_destroy()
#define gst_scheduler_destroy(sched) gst_object_destroy(GST_OBJECT(sched)) |
Destroy the scheduler
gst_scheduler_setup ()
Prepare the scheduler.
gst_scheduler_get_preferred_stack ()
gboolean gst_scheduler_get_preferred_stack
(GstScheduler *sched,
gpointer *stack,
gulong *size); |
Gets the preferred stack location and size of this scheduler.
gst_scheduler_reset ()
Reset the schedulers.
gst_scheduler_add_element ()
Add an element to the scheduler.
gst_scheduler_remove_element ()
Remove an element from the scheduler.
gst_scheduler_state_transition ()
Tell the scheduler that an element changed its state.
gst_scheduler_lock_element ()
Acquire a lock on the given element in the given scheduler.
gst_scheduler_unlock_element ()
Release the lock on the given element in the given scheduler.
gst_scheduler_yield ()
Tell the scheduler to schedule another element.
gst_scheduler_interrupt ()
Tell the scheduler to interrupt execution of this element.
gst_scheduler_error ()
Tell the scheduler an element was in error
gst_scheduler_pad_connect ()
Connect the srcpad to the given sinkpad.
gst_scheduler_pad_disconnect ()
Disconnect the srcpad to the given sinkpad.
gst_scheduler_pad_select ()
register the given padlist for a select operation.
gst_scheduler_add_scheduler ()
Notifies the scheduler that it has to monitor this scheduler.
gst_scheduler_remove_scheduler ()
a Notifies the scheduler that it can stop monitoring this scheduler.
gst_scheduler_auto_clock ()
Let the scheduler select a clock automatically.
gst_scheduler_get_clock ()
Get the current clock used by the scheduler
gst_scheduler_set_clock ()
Set the clock for the scheduler. The clock will be distributed
to all the elements managed by the scheduler.
gst_scheduler_use_clock ()
Force the scheduler to use the given clock. The scheduler will
always use the given clock even if new clock providers are added
to this scheduler.
gst_scheduler_clock_wait ()
Wait till the clock reaches a specific time
gst_scheduler_iterate ()
Perform one iteration on the scheduler.
gst_scheduler_show ()
Dump the state of the scheduler