diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-03-14 17:00:12 +0100 |
---|---|---|
committer | Josep Torra <n770galaxy@gmail.com> | 2013-03-15 10:09:59 +0100 |
commit | 14e9d65c8362df119c1af08316f020ade3ac5134 (patch) | |
tree | d2e451055ec33d4dd4413b553d5095d06e24f15e | |
parent | 20fe654232e0e21a2076c3153865a9236f21f7fb (diff) |
omx: Reset the flags for output ports when releasing a buffer, not for input ports
-rw-r--r-- | omx/gstomx.c | 2 |
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 |