blob: 122ddb397f334b6c7be7f55051f0ac4901c80f08 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From fc4773f36aa31b4ae0fc97d3aa3f94db0c88f194 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 11 Feb 2016 12:53:20 -0800
4
5---
6 omx/gstomx.c | 4 ++--
7 1 file changed, 2 insertions(+), 2 deletions(-)
8
Patrick Williams8b8bc412016-08-17 15:02:23 -05009diff --git a/omx/gstomx.c b/omx/gstomx.c
Brad Bishop316dfdd2018-06-25 12:45:53 -040010index 0237f3c..45732c3 100644
Patrick Williams8b8bc412016-08-17 15:02:23 -050011--- a/omx/gstomx.c
12+++ b/omx/gstomx.c
Brad Bishop316dfdd2018-06-25 12:45:53 -040013@@ -1538,8 +1538,8 @@ gst_omx_port_set_flushing (GstOMXPort * port, GstClockTime timeout,
Patrick Williams8b8bc412016-08-17 15:02:23 -050014 last_error = OMX_ErrorNone;
15 gst_omx_component_handle_messages (comp);
16 while (signalled && last_error == OMX_ErrorNone && !port->flushed
17- && port->buffers
18- && port->buffers->len > g_queue_get_length (&port->pending_buffers)) {
19+ /* && port->buffers
20+ && port->buffers->len > g_queue_get_length (&port->pending_buffers) */) {
21 signalled = gst_omx_component_wait_message (comp, timeout);
22 if (signalled)
23 gst_omx_component_handle_messages (comp);