summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-14 17:00:12 +0100
committerJosep Torra <n770galaxy@gmail.com>2013-03-15 10:09:59 +0100
commit14e9d65c8362df119c1af08316f020ade3ac5134 (patch)
treed2e451055ec33d4dd4413b553d5095d06e24f15e
parent20fe654232e0e21a2076c3153865a9236f21f7fb (diff)
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 1d8867d..ae11a20 100644
--- a/omx/gstomx.c
+++ b/omx/gstomx.c
@@ -1361,7 +1361,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