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:
0682012
)
omx: Also properly release buffers when in error state
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Tue, 8 Nov 2011 07:24:19 +0000
(08:24 +0100)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Tue, 8 Nov 2011 07:24:49 +0000
(08:24 +0100)
omx/gstomx.c
patch
|
blob
|
history
diff --git
a/omx/gstomx.c
b/omx/gstomx.c
index
0b5430a
..
6b214ce
100644
(file)
--- a/
omx/gstomx.c
+++ b/
omx/gstomx.c
@@
-1048,6
+1048,8
@@
gst_omx_port_release_buffer (GstOMXPort * port, GstOMXBuffer * buf)
if ((err = gst_omx_component_get_last_error (comp)) != OMX_ErrorNone) {
GST_ERROR_OBJECT (comp->parent, "Component is in error state: %s (0x%08x)",
gst_omx_error_to_string (err), err);
+ g_queue_push_tail (port->pending_buffers, buf);
+ g_cond_broadcast (port->port_cond);
goto done;
}