projects
/
platform
/
upstream
/
gst-omx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ac2bfc
)
omx: Don't broadcast port->port_cond after allocating buffers successfully
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Thu, 7 Jul 2011 10:21:31 +0000
(12:21 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Sat, 9 Jul 2011 09:06:06 +0000
(11:06 +0200)
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
patch
|
blob
|
history
diff --git
a/omx/gstomx.c
b/omx/gstomx.c
index
cba1c2a
..
f73d635
100644
(file)
--- 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",