element: document that gst_element_continue_state needs to be called with the STATE_LOCK

It internally calls gst_element_change_state(), which requires the STATE_LOCK

https://bugzilla.gnome.org/show_bug.cgi?id=785431
This commit is contained in:
George Kiagiadakis 2017-07-26 11:15:58 +03:00
parent 92ad74052b
commit 4c3092e07a

View file

@ -2402,6 +2402,8 @@ _priv_gst_element_state_changed (GstElement * element, GstState oldstate,
* This method is used internally and should normally not be called by plugins
* or applications.
*
* This function must be called with STATE_LOCK held.
*
* Returns: The result of the commit state change.
*
* MT safe.