From 8716c23e2b0553db2982eb84c437f493c974385e Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Mon, 12 Dec 2016 11:12:48 +0000 Subject: Prevent early EOS by resetting eos flag once GST_OMX_ACQUIRE_BUFFER_EOS is triggered https://bugzilla.gnome.org/show_bug.cgi?id=774600 --- omx/gstomx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/omx/gstomx.c b/omx/gstomx.c index 127a1c1..6de1b03 100644 --- a/omx/gstomx.c +++ b/omx/gstomx.c @@ -1343,11 +1343,12 @@ retry: GST_DEBUG_OBJECT (comp->parent, "Component %s port %d signalled EOS", comp->name, port->index); ret = GST_OMX_ACQUIRE_BUFFER_EOS; + port->eos = FALSE goto done; } } - /* + /* * At this point we have no error or flushing/eos port * and a properly configured port. * -- cgit v1.2.1