Example #1
0
OSCL_EXPORT_REF OMX_ERRORTYPE omx_base_filter_Destructor(OMX_COMPONENTTYPE *openmaxStandComp) {
	OMX_ERRORTYPE err;
	  DEBUG(DEB_LEV_FUNCTION_NAME, "In %s of component %p\n", __func__, openmaxStandComp);
	  err = omx_base_component_Destructor(openmaxStandComp);
	  if (err != OMX_ErrorNone) {
		  DEBUG(DEB_LEV_ERR, "The base component destructor failed\n");
		  return err;
	  }
	  DEBUG(DEB_LEV_FUNCTION_NAME, "Out of %s of component %p\n", __func__, openmaxStandComp);
	  return OMX_ErrorNone;
}
OMX_ERRORTYPE omx_base_sink_Destructor(OMX_COMPONENTTYPE *openmaxStandComp)
{
  return omx_base_component_Destructor(openmaxStandComp);
}