gst/gstpad.c (gst_pad_set_active): Change docs; parent's

Original commit message from CVS:
2005-11-14  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (gst_pad_set_active): Change docs; parent's
STATE_LOCK not necessary. Fixes #311489.
This commit is contained in:
Andy Wingo 2005-11-14 12:43:43 +00:00
parent 3e08b586e7
commit 6da40a32f4
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2005-11-14 Andy Wingo <wingo@pobox.com>
* gst/gstpad.c (gst_pad_set_active): Change docs; parent's
STATE_LOCK not necessary. Fixes #311489.
* gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
#305291.

View file

@ -576,7 +576,6 @@ post_activate (GstPad * pad, GstActivateMode new_mode)
* @active: whether or not the pad should be active.
*
* Activates or deactivates the given pad.
* Must be called with the parent element's #GST_STATE_LOCK held.
* Normally called from within core state change functions.
*
* If @active, makes sure the pad is active. If it is already active, either in
@ -589,7 +588,7 @@ post_activate (GstPad * pad, GstActivateMode new_mode)
*
* Returns: #TRUE if the operation was successful.
*
* MT safe. Must be called with parent element's #GST_STATE_LOCK held.
* MT safe.
*/
gboolean
gst_pad_set_active (GstPad * pad, gboolean active)