diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-03-14 17:00:12 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-03-14 17:00:42 +0100 |
commit | ec687f141467b97196262bbd8622b2a0ac3a3d83 (patch) | |
tree | c979d569cf42313338132cd520dd7b4830339482 | |
parent | 02335ef953be87bc46ddb731788fa9093cbbc00a (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 5545de88ae..62c9d72d14 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 |