diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2019-08-28 15:52:41 +0530 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-09-04 10:41:46 +0000 |
commit | 76267ec55d5432197ddff3254702551d54132205 (patch) | |
tree | a1c824898cb6962ab1d309e87f9e76587b16c60c | |
parent | a7ef71dc809cd02d9ec0898f54b7aafb09c8149a (diff) | |
download | gst-omx-76267ec55d5432197ddff3254702551d54132205.tar.gz |
omx: log the number of pending buffers when port is EOS
-rw-r--r-- | omx/gstomx.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |