mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
omx: Add workaround for QCOM 7x30 race condition
This commit is contained in:
parent
b085e11c37
commit
cba41896a6
1 changed files with 3 additions and 0 deletions
|
@ -1124,6 +1124,9 @@ gst_omx_port_set_flushing (GstOMXPort * port, gboolean flush)
|
|||
if (port->port_def.eDir == OMX_DirOutput && port->buffers) {
|
||||
GstOMXBuffer *buf;
|
||||
|
||||
/* FIXME: Workaround for QCOM 7x30 race condition */
|
||||
g_usleep (G_USEC_PER_SEC / 10);
|
||||
|
||||
/* Enqueue all buffers for the component to fill */
|
||||
while ((buf = g_queue_pop_head (port->pending_buffers))) {
|
||||
g_assert (!buf->used);
|
||||
|
|
Loading…
Reference in a new issue