gst/gstelement.c (gst_element_init, gst_element_finalize): Allocate and free the...
authorAndy Wingo <wingo@pobox.com>
Mon, 10 Oct 2005 14:33:13 +0000 (14:33 +0000)
committerAndy Wingo <wingo@pobox.com>
Mon, 10 Oct 2005 14:33:13 +0000 (14:33 +0000)
commitcfd14e0fd38c332c85437b2eb2b4abea69e451da
treec9bd4aa4f2ac345ab7a7032c791074b1f8471837
parent5efcf702e400d8f823047ecf050195b444bea471
gst/gstelement.c (gst_element_init, gst_element_finalize): Allocate and free the mutex properly.

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

* gst/gstelement.c (gst_element_init, gst_element_finalize):
Allocate and free the mutex properly.

* gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
New macros.
(GstElement): The state_lock is now recursive. Rebuild your
plugins, suckers. Old macros adapted.
ChangeLog
gst/gstelement.c
gst/gstelement.h