mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 03:46:11 +00:00
Revert "omx: wait for flush complete and buffers being released when flushing"
This reverts commit 4211e4c29a
.
This commit is contained in:
parent
f861ad2bc5
commit
5eed1a7eb2
1 changed files with 1 additions and 1 deletions
|
@ -1637,7 +1637,7 @@ gst_omx_port_set_flushing (GstOMXPort * port, GstClockTime timeout,
|
||||||
signalled = TRUE;
|
signalled = TRUE;
|
||||||
last_error = OMX_ErrorNone;
|
last_error = OMX_ErrorNone;
|
||||||
gst_omx_component_handle_messages (comp);
|
gst_omx_component_handle_messages (comp);
|
||||||
while (!port->flushed ||
|
while (!port->flushed &&
|
||||||
(port->buffers
|
(port->buffers
|
||||||
&& port->buffers->len >
|
&& port->buffers->len >
|
||||||
g_queue_get_length (&port->pending_buffers))) {
|
g_queue_get_length (&port->pending_buffers))) {
|
||||||
|
|
Loading…
Reference in a new issue