mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
omx: Flushing is also allowed in Paused state
This commit is contained in:
parent
39672e70c4
commit
58a093bc0c
1 changed files with 2 additions and 2 deletions
|
@ -1304,8 +1304,8 @@ gst_omx_port_set_flushing (GstOMXPort * port, gboolean flush)
|
|||
goto done;
|
||||
}
|
||||
|
||||
if (comp->state != OMX_StateIdle && comp->state != OMX_StateExecuting) {
|
||||
|
||||
if (comp->state != OMX_StateIdle && comp->state != OMX_StateExecuting
|
||||
&& comp->state != OMX_StatePause) {
|
||||
GST_DEBUG_OBJECT (comp->parent, "Component is in wrong state: %d",
|
||||
comp->state);
|
||||
err = OMX_ErrorUndefined;
|
||||
|
|
Loading…
Reference in a new issue