Revert "omx: wait for flush complete and buffers being released when flushing"

This reverts commit 4211e4c29a.
This commit is contained in:
Nicolas Dufresne 2018-03-02 11:06:08 -05:00
parent f861ad2bc5
commit 5eed1a7eb2

View file

@ -1637,7 +1637,7 @@ gst_omx_port_set_flushing (GstOMXPort * port, GstClockTime timeout,
signalled = TRUE;
last_error = OMX_ErrorNone;
gst_omx_component_handle_messages (comp);
while (!port->flushed ||
while (!port->flushed &&
(port->buffers
&& port->buffers->len >
g_queue_get_length (&port->pending_buffers))) {