mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
omx: Reset pending reconfigure output ports when changing the state from Executing to any lower state
This commit is contained in:
parent
25fd0594f5
commit
e413b8403c
1 changed files with 1 additions and 1 deletions
|
@ -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_StateIdle) {
|
||||
if (old_state == OMX_StateExecuting && state < old_state) {
|
||||
g_atomic_int_set (&comp->have_pending_reconfigure_outports, 0);
|
||||
g_list_free (comp->pending_reconfigure_outports);
|
||||
comp->pending_reconfigure_outports = NULL;
|
||||
|
|
Loading…
Reference in a new issue