docs: link to the appropriate messages from gst_elements_set_state() docs

For an async state change return one would wait for ASYNC_DONE or STATE_CHANGED.
This commit is contained in:
Stefan Sauer 2013-02-17 13:20:20 +01:00
parent e3a9e66985
commit f9ce7e711b

View file

@ -2425,7 +2425,8 @@ only_async_start:
* element will perform the remainder of the state change asynchronously in * element will perform the remainder of the state change asynchronously in
* another thread. * another thread.
* 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 %GST_MESSAGE_ASYNC_DONE or
* %GST_MESSAGE_STATE_CHANGED on the bus.
* *
* State changes to %GST_STATE_READY or %GST_STATE_NULL never return * State changes to %GST_STATE_READY or %GST_STATE_NULL never return
* #GST_STATE_CHANGE_ASYNC. * #GST_STATE_CHANGE_ASYNC.