task: fix deadlock due to typo

This commit is contained in:
Wim Taymans 2009-04-23 16:53:14 +02:00 committed by Wim Taymans
parent 5fdd5e0a1e
commit 8e2bd06c31

View file

@ -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