summaryrefslogtreecommitdiff
path: root/libs/gst/controller/gsttimedvaluecontrolsource.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/gst/controller/gsttimedvaluecontrolsource.h')
-rw-r--r--libs/gst/controller/gsttimedvaluecontrolsource.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/gst/controller/gsttimedvaluecontrolsource.h b/libs/gst/controller/gsttimedvaluecontrolsource.h
index 53a91d1444..e1dde55b0e 100644
--- a/libs/gst/controller/gsttimedvaluecontrolsource.h
+++ b/libs/gst/controller/gsttimedvaluecontrolsource.h
@@ -84,7 +84,7 @@ struct _GstTimedValueControlSource {
GstControlSource parent;
/*< protected >*/
- GMutex *lock;
+ GMutex lock;
GSequence *values; /* List of GstControlPoint */
gint nvalues; /* Number of control points */
@@ -102,9 +102,9 @@ struct _GstTimedValueControlSourceClass {
};
#define GST_TIMED_VALUE_CONTROL_SOURCE_LOCK(o) \
- g_mutex_lock(((GstTimedValueControlSource *)o)->lock)
+ g_mutex_lock(&((GstTimedValueControlSource *)o)->lock)
#define GST_TIMED_VALUE_CONTROL_SOURCE_UNLOCK(o) \
- g_mutex_unlock(((GstTimedValueControlSource *)o)->lock)
+ g_mutex_unlock(&((GstTimedValueControlSource *)o)->lock)
GType gst_timed_value_control_source_get_type (void);