summaryrefslogtreecommitdiff
path: root/clutter-gst/clutter-gst-auto-video-sink.h
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2012-07-12 12:02:59 +0200
committerEdward Hervey <edward.hervey@collabora.co.uk>2012-07-12 16:17:53 +0200
commit9d5e10e86bbdd8c0c78b26af008785a5b03dae9c (patch)
tree780955f5e598557d0e917aeeaff4ff18e8ebe389 /clutter-gst/clutter-gst-auto-video-sink.h
parente02d8c7a3a140fb9f607ed14f8f233843b09d757 (diff)
downloadclutter-gst-9d5e10e86bbdd8c0c78b26af008785a5b03dae9c.tar.gz
gst: Use new g_mutex API
Diffstat (limited to 'clutter-gst/clutter-gst-auto-video-sink.h')
-rw-r--r--clutter-gst/clutter-gst-auto-video-sink.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/clutter-gst/clutter-gst-auto-video-sink.h b/clutter-gst/clutter-gst-auto-video-sink.h
index bcee56d..7dadd6e 100644
--- a/clutter-gst/clutter-gst-auto-video-sink.h
+++ b/clutter-gst/clutter-gst-auto-video-sink.h
@@ -65,7 +65,7 @@ G_BEGIN_DECLS
GST_LOG_OBJECT (obj, \
"locking from thread %p", \
g_thread_self ()); \
- g_mutex_lock (CLUTTER_GST_AUTO_VIDEO_SINK(obj)->lock); \
+ g_mutex_lock (&CLUTTER_GST_AUTO_VIDEO_SINK(obj)->lock); \
GST_LOG_OBJECT (obj, \
"locked from thread %p", \
g_thread_self ()); \
@@ -75,7 +75,7 @@ G_BEGIN_DECLS
GST_LOG_OBJECT (obj, \
"unlocking from thread %p", \
g_thread_self ()); \
- g_mutex_unlock (CLUTTER_GST_AUTO_VIDEO_SINK(obj)->lock); \
+ g_mutex_unlock (&CLUTTER_GST_AUTO_VIDEO_SINK(obj)->lock); \
} G_STMT_END
typedef struct _ClutterGstAutoVideoSink ClutterGstAutoVideoSink;
@@ -100,7 +100,7 @@ struct _ClutterGstAutoVideoSink
ClutterTexture *texture;
- GMutex *lock;
+ GMutex lock;
};
struct _ClutterGstAutoVideoSinkClass