GStreamer Application Development Manual (0.8.7) | ||
---|---|---|
<<< Previous | Next >>> |
Once you have created a pipeline packed with elements, nothing will happen right away. This is where the different states come into play.
An element can be in one of the following four states:
NULL: this is the default state all elements are in when they are created and are doing nothing.
READY: An element is ready to start doing something.
PAUSED: The element is paused for a period of time.
PLAYING: The element is doing something.
All elements start with the NULL state. The elements will go throught the following state changes: NULL -> READY -> PAUSED -> PLAYING. When going from NULL to PLAYING, GStreamer will internally go throught the intermediate states.
You can set the following states on an element:
<<< Previous | Home | Next >>> |
Buffers | Up | The NULL state |