omx: Reset the flags for output ports when releasing a buffer, not for input ports

This commit is contained in:
Sebastian Dröge 2013-03-14 17:00:12 +01:00
parent 02335ef953
commit ec687f1414

View file

@ -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