From f9ce7e711bca678c87c885abe5e0de127ddd6c63 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Sun, 17 Feb 2013 13:20:20 +0100 Subject: [PATCH] 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. --- gst/gstelement.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/gstelement.c b/gst/gstelement.c index b570887..7a7133f 100644 --- a/gst/gstelement.c +++ b/gst/gstelement.c @@ -2425,7 +2425,8 @@ only_async_start: * element will perform the remainder of the state change asynchronously in * another thread. * 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 * #GST_STATE_CHANGE_ASYNC. -- 2.7.4