libs/gst/base/gstbasetransform.h: Fix macro for locking/unlocking the transform lock.
authorWim Taymans <wim.taymans@gmail.com>
Mon, 21 May 2007 11:29:28 +0000 (11:29 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 21 May 2007 11:29:28 +0000 (11:29 +0000)
Original commit message from CVS:
* libs/gst/base/gstbasetransform.h:
Fix macro for locking/unlocking the transform lock.

ChangeLog
libs/gst/base/gstbasetransform.h

index f965d6f3762e38be5be0b6b5faca9eb054cd39c7..b5748d7e31864af33072c581d98569c725c8d7eb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index 3f042e82172c8f5e742aaa5c5c4f259323c6518a..dd0501d804bb9714412784390c1a407ed290825b 100644 (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;