From 76267ec55d5432197ddff3254702551d54132205 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 28 Aug 2019 15:52:41 +0530 Subject: [PATCH] omx: log the number of pending buffers when port is EOS --- omx/gstomx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/omx/gstomx.c b/omx/gstomx.c index 0b4d6b8..be2ce6f 100644 --- a/omx/gstomx.c +++ b/omx/gstomx.c @@ -2177,7 +2177,8 @@ retry: if (port->port_def.eDir == OMX_DirOutput && port->eos) { if (!g_queue_is_empty (&port->pending_buffers)) { GST_DEBUG_OBJECT (comp->parent, "%s output port %u is EOS but has " - "buffers pending", comp->name, port->index); + "%d buffers pending", comp->name, port->index, + g_queue_get_length (&port->pending_buffers)); _buf = g_queue_pop_head (&port->pending_buffers); ret = GST_OMX_ACQUIRE_BUFFER_OK; -- 2.7.4