From ec687f141467b97196262bbd8622b2a0ac3a3d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 14 Mar 2013 17:00:12 +0100 Subject: omx: Reset the flags for output ports when releasing a buffer, not for input ports --- omx/gstomx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1