summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@sharp.fm>2016-12-12 11:12:48 +0000
committerSebastian Dröge <sebastian@centricular.com>2016-12-22 14:44:39 +0200
commit8a9d25ded3c81b9b0c4d1bc43877e9d6c93f0e0d (patch)
treeb26c841cc1de986d25f2d151eb93754f34546b44
parent702a4107f6b2a013e4ccc825a2e6fc496bb14e0a (diff)
Prevent early EOS by resetting eos flag once GST_OMX_ACQUIRE_BUFFER_EOS is triggered
https://bugzilla.gnome.org/show_bug.cgi?id=774600
-rw-r--r--omx/gstomx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c
index 14025fa..3ac1ebb 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.
*