Chapter 17. Understanding schedulers

The scheduler is responsible for managing the plugins at runtime. Its main responsibilities are:

The scheduler is a plugable component; this means that alternative schedulers can be written and plugged into GStreamer. The default scheduler uses cothreads to schedule the plugins in a pipeline. Cothreads are fast and lightweight user-space threads.

There is usually no need to interact with the scheduler directly, however in some cases it is feasible to set a specific clock or force a specific plugin as the entry point in the pipeline.