All pastes #510648 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-05-25 23:53 UTC
rendered paste body
=== modified file 'libs/gst/base/gstbasetransform.h'
--- libs/gst/base/gstbasetransform.h    2007-05-09 13:59:24 +0000
+++ libs/gst/base/gstbasetransform.h    2007-05-25 23:32:36 +0000
@@ -85,7 +85,7 @@
  *
  * 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 @@
  *
  * 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;