mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
e3a9e66985
commit
f9ce7e711b
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue