summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-04-23 16:53:14 +0200
committerWim Taymans <wim@metal.(none)>2009-05-12 00:25:41 +0200
commit8e2bd06c31ce824910c05e46fd61060b10caa5b0 (patch)
treea38d654401feaebcd2e581aa021f510dc9f3c167
parent5fdd5e0a1e3440b38035df5bbec9fe2c5a6cdf77 (diff)
task: fix deadlock due to typo
-rw-r--r--gst/gsttask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gsttask.c b/gst/gsttask.c
index 9cf1ed5d4a..a8caf43bd9 100644
--- a/gst/gsttask.c
+++ b/gst/gsttask.c
@@ -146,7 +146,7 @@ gst_task_init (GstTask * task)
* override this later */
g_static_mutex_lock (&pool_lock);
task->priv->pool = gst_object_ref (klass->pool);
- g_static_mutex_lock (&pool_lock);
+ g_static_mutex_unlock (&pool_lock);
}
static void