Commit 5eed1a7e authored by Nicolas Dufresne's avatar Nicolas Dufresne

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

This reverts commit 4211e4c2.
parent f861ad2b
......@@ -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))) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment