summaryrefslogtreecommitdiffstats
path: root/ext/flac
diff options
context:
space:
mode:
Diffstat (limited to 'ext/flac')
-rw-r--r--ext/flac/gstflacenc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c
index f947a7b5..79f3de0b 100644
--- a/ext/flac/gstflacenc.c
+++ b/ext/flac/gstflacenc.c
@@ -707,7 +707,7 @@ gst_flacenc_set_property (GObject * object, guint prop_id,
{
GstFlacEnc *this = GST_FLACENC (object);
- GST_LOCK (this);
+ GST_OBJECT_LOCK (this);
switch (prop_id) {
case PROP_QUALITY:
@@ -766,7 +766,7 @@ gst_flacenc_set_property (GObject * object, guint prop_id,
break;
}
- GST_UNLOCK (this);
+ GST_OBJECT_UNLOCK (this);
}
static void
@@ -775,7 +775,7 @@ gst_flacenc_get_property (GObject * object, guint prop_id,
{
GstFlacEnc *this = GST_FLACENC (object);
- GST_LOCK (this);
+ GST_OBJECT_LOCK (this);
switch (prop_id) {
case PROP_QUALITY:
@@ -841,7 +841,7 @@ gst_flacenc_get_property (GObject * object, guint prop_id,
break;
}
- GST_UNLOCK (this);
+ GST_OBJECT_UNLOCK (this);
}
static GstStateChangeReturn