Draft: omxvideocodec: avoid double flush during teardown
In order to save some precious ms in a multiple omx pipeline configuration, flush should be performed only once during the element teardown and after putting the gst_omx_component_set_state to OMX_StateIdle , avoiding a slow port creation.
Edited by Stéphane Cerveau