docs: more info about when state changes can be async and when not.

This commit is contained in:
Stefan Kost 2009-03-18 16:38:51 +02:00
parent c5ee0b7c1d
commit a5e3baf44d

View file

@ -2262,6 +2262,9 @@ nothing_lost:
* An application can use gst_element_get_state() to wait for the completion * An application can use gst_element_get_state() to wait for the completion
* of the state change or it can wait for a state change message on the bus. * of the state change or it can wait for a state change message on the bus.
* *
* State changes to %GST_STATE_READY or %GST_STATE_NULL never return
* #GST_STATE_CHANGE_ASYNC.
*
* Returns: Result of the state change using #GstStateChangeReturn. * Returns: Result of the state change using #GstStateChangeReturn.
* *
* MT safe. * MT safe.