10.3. The READY state

You will start the pipeline by first setting it to the READY state. This will allow the pipeline and all the elements contained in it to prepare themselves for the actions they are about to perform.

The typical actions that an element will perform in the READY state might be to open a file or an audio device. Some more complex elements might have a non trivial action to perform in the READY state such as connecting to a media server using a CORBA connection.

Note

You can also go from the NULL to PLAYING state directly without going through the READY state. This is a shortcut; the framework will internally go through the READY and the PAUSED state for you.