[][src]Function mmal_sys::mmal_port_disable

pub unsafe extern "C" fn mmal_port_disable(port: *mut MMAL_PORT_T) -> Type

Disable processing on a port

Disabling a port will stop all processing on this port and return all (non-processed) buffer headers to the client.

If this is a connected output port, the input port to which it is connected shall also be disabled. Any buffer pool shall be released.

@param port port to disable @return MMAL_SUCCESS on success