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:
b085e11
)
omx: Add workaround for QCOM 7x30 race condition
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Fri, 29 Jul 2011 11:56:59 +0000
(13:56 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Fri, 29 Jul 2011 11:56:59 +0000
(13:56 +0200)
omx/gstomx.c
patch
|
blob
|
history
diff --git
a/omx/gstomx.c
b/omx/gstomx.c
index
33bf7e3
..
1e78a04
100644
(file)
--- a/
omx/gstomx.c
+++ b/
omx/gstomx.c
@@
-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);