summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-14 17:00:12 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-14 17:00:42 +0100
commitec687f141467b97196262bbd8622b2a0ac3a3d83 (patch)
treec979d569cf42313338132cd520dd7b4830339482
parent02335ef953be87bc46ddb731788fa9093cbbc00a (diff)
downloadgst-omx-ec687f141467b97196262bbd8622b2a0ac3a3d83.tar.gz
omx: Reset the flags for output ports when releasing a buffer, not for input ports
-rw-r--r--omx/gstomx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c
index 5545de8..62c9d72 100644
--- a/omx/gstomx.c
+++ b/omx/gstomx.c
@@ -1354,7 +1354,7 @@ gst_omx_port_release_buffer (GstOMXPort * port, GstOMXBuffer * buf)
gst_omx_component_handle_messages (comp);
- if (port->port_def.eDir == OMX_DirInput) {
+ if (port->port_def.eDir == OMX_DirOutput) {
/* Reset all flags, some implementations don't
* reset them themselves and the flags are not
* valid anymore after the buffer was consumed