gst_omx_component_handle_messages (comp);
- if (! !flush == ! !port->flushing) {
+ if (flush == port->flushing) {
GST_DEBUG_OBJECT (comp->parent, "%s port %u was %sflushing already",
comp->name, port->index, (flush ? "" : "not "));
goto done;
goto done;
}
- if (! !port->flushing != ! !flush) {
+ if (port->flushing != flush) {
GST_ERROR_OBJECT (comp->parent, "%s: another flush happened in the "
" meantime", comp->name);
goto done;