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:
25fd059
)
omx: Reset pending reconfigure output ports when changing the state from Executing...
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Wed, 10 Aug 2011 07:23:10 +0000
(09:23 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Wed, 10 Aug 2011 07:23:10 +0000
(09:23 +0200)
omx/gstomx.c
patch
|
blob
|
history
diff --git
a/omx/gstomx.c
b/omx/gstomx.c
index 8513a43156e190013fff41d30027bbd09be7a59f..c464fb047aefb92cc77ec3b0423d48b608c64dfa 100644
(file)
--- a/
omx/gstomx.c
+++ b/
omx/gstomx.c
@@
-506,7
+506,7
@@
gst_omx_component_set_state (GstOMXComponent * comp, OMX_STATETYPE state)
err = OMX_SendCommand (comp->handle, OMX_CommandStateSet, state, NULL);
/* Reset some things */
- if (old_state == OMX_StateExecuting && state
== OMX_StateIdl
e) {
+ if (old_state == OMX_StateExecuting && state
< old_stat
e) {
g_atomic_int_set (&comp->have_pending_reconfigure_outports, 0);
g_list_free (comp->pending_reconfigure_outports);
comp->pending_reconfigure_outports = NULL;