From 28688414b88ff52ce4bb7cc94973b2ba68a882e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 7 Jul 2011 12:21:31 +0200 Subject: [PATCH] omx: Don't broadcast port->port_cond after allocating buffers successfully Allocating buffers must happen while no thread is waiting for the cond and especially must happen from the thread that would acquire buffers from the port. --- omx/gstomx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/omx/gstomx.c b/omx/gstomx.c index cba1c2ab8d..f73d635dc0 100644 --- a/omx/gstomx.c +++ b/omx/gstomx.c @@ -984,7 +984,6 @@ gst_omx_port_allocate_buffers_unlocked (GstOMXPort * port) /* In the beginning all buffers are not owned by the component */ g_queue_push_tail (port->pending_buffers, buf); } - g_cond_broadcast (port->port_cond); done: GST_DEBUG_OBJECT (comp->parent, "Allocated buffers for port %u: %d",