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-13 11:38:38 +0200
commit8716c23e2b0553db2982eb84c437f493c974385e (patch)
tree10fa6d3e392a679fc78d7645f5c5a41eb8c70d7a
parent5d5fbcd8f6704a805faf9dbcefb7f5fd977c447f (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 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.
*