projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5319d33
)
omx: Only prevent setting a higher state if the component is in an error state
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Mon, 8 Aug 2011 10:12:58 +0000
(12:12 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Mon, 8 Aug 2011 10:12:58 +0000
(12:12 +0200)
omx/gstomx.c
patch
|
blob
|
history
diff --git
a/omx/gstomx.c
b/omx/gstomx.c
index
603c552
..
375c2ea
100644
(file)
--- a/
omx/gstomx.c
+++ b/
omx/gstomx.c
@@
-471,7
+471,7
@@
gst_omx_component_set_state (GstOMXComponent * comp, OMX_STATETYPE state)
old_state = comp->state;
GST_DEBUG_OBJECT (comp->parent, "Setting state from %d to %d", old_state,
state);
- if ((err = comp->last_error) != OMX_ErrorNone) {
+ if ((err = comp->last_error) != OMX_ErrorNone
&& state > old_state
) {
GST_ERROR_OBJECT (comp->parent, "Component in error state: %s (0x%08x)",
gst_omx_error_to_string (err), err);
goto done;