mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
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.
This commit is contained in:
parent
3ac2bfc976
commit
28688414b8
1 changed files with 0 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue