summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-02-23 11:10:24 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-02-23 11:19:52 +0100
commit642ca2bd40e4dd14de263a18c4d9446f7b809bd3 (patch)
tree83d57cd2383e5e575a04394baa69bf621473c415 /gst
parent6cd3faaa658de9aed08813c1e89be8ca72f802d1 (diff)
audioresample: remove transform lock
In this particular case it was not sufficient anyways because the setcaps function didn't take the transform lock.
Diffstat (limited to 'gst')
-rw-r--r--gst/audioresample/gstaudioresample.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c
index ebd5895aa..222d0225c 100644
--- a/gst/audioresample/gstaudioresample.c
+++ b/gst/audioresample/gstaudioresample.c
@@ -1269,14 +1269,13 @@ gst_audio_resample_set_property (GObject * object, guint prop_id,
switch (prop_id) {
case PROP_QUALITY:
- GST_BASE_TRANSFORM_LOCK (resample);
+ /* FIXME locking! */
quality = g_value_get_int (value);
GST_DEBUG_OBJECT (resample, "new quality %d", quality);
gst_audio_resample_update_state (resample, resample->width,
resample->channels, resample->inrate, resample->outrate,
quality, resample->fp);
- GST_BASE_TRANSFORM_UNLOCK (resample);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);