mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
omx: Reset EOS flag in more places
This commit is contained in:
parent
84c6fd44d2
commit
35a13a2cea
1 changed files with 7 additions and 4 deletions
11
omx/gstomx.c
11
omx/gstomx.c
|
@ -1552,11 +1552,11 @@ gst_omx_port_set_flushing (GstOMXPort * port, GstClockTime timeout,
|
|||
err = OMX_ErrorTimeout;
|
||||
goto done;
|
||||
}
|
||||
|
||||
/* Reset EOS flag */
|
||||
port->eos = FALSE;
|
||||
}
|
||||
|
||||
/* Reset EOS flag */
|
||||
port->eos = FALSE;
|
||||
|
||||
done:
|
||||
gst_omx_port_update_port_definition (port, NULL);
|
||||
|
||||
|
@ -2217,8 +2217,11 @@ gst_omx_port_wait_enabled_unlocked (GstOMXPort * port, GstClockTime timeout)
|
|||
gst_omx_error_to_string (err), err);
|
||||
err = last_error;
|
||||
} else {
|
||||
if (enabled)
|
||||
if (enabled) {
|
||||
port->flushing = FALSE;
|
||||
/* Reset EOS flag */
|
||||
port->eos = FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
gst_omx_component_handle_messages (comp);
|
||||
|
|
Loading…
Reference in a new issue