libs/gst/base/gstbasetransform.h: Fix macro for locking/unlocking the transform lock.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.h:
Fix macro for locking/unlocking the transform lock.
This commit is contained in:
Wim Taymans 2007-05-21 11:29:28 +00:00
parent b81f64950f
commit caa1b7d068
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2007-05-21 Wim Taymans <wim@fluendo.com>
* libs/gst/base/gstbasetransform.h:
Fix macro for locking/unlocking the transform lock.
2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
* docs/plugins/tmpl/.cvsignore:

View file

@ -85,7 +85,7 @@ G_BEGIN_DECLS
*
* Since: 0.10.13
*/
#define GST_BASE_TRANSFORM_LOCK(obj) g_mutex_lock (obj->transform_lock)
#define GST_BASE_TRANSFORM_LOCK(obj) g_mutex_lock (GST_BASE_TRANSFORM_CAST (obj)->transform_lock)
/**
* GST_BASE_TRANSFORM_UNLOCK:
@ -95,7 +95,7 @@ G_BEGIN_DECLS
*
* Since: 0.10.13
*/
#define GST_BASE_TRANSFORM_UNLOCK(obj) g_mutex_unlock (obj->transform_lock)
#define GST_BASE_TRANSFORM_UNLOCK(obj) g_mutex_unlock (GST_BASE_TRANSFORM_CAST (obj)->transform_lock)
typedef struct _GstBaseTransform GstBaseTransform;
typedef struct _GstBaseTransformClass GstBaseTransformClass;