[−][src]Function mmal_sys::mmal_connection_enable
pub unsafe extern "C" fn mmal_connection_enable(
connection: *mut MMAL_CONNECTION_T
) -> Type
Enable a connection. The format of the two ports must have been committed before calling this function, although note that on creation, the connection automatically copies and commits the output port's format to the input port.
The MMAL_CONNECTION_T::callback field must have been set if the \ref MMAL_CONNECTION_FLAG_TUNNELLING flag was not specified on creation. The client may also set the MMAL_CONNECTION_T::user_data in order to get a pointer passed, via the connection, to the callback.
@param connection The connection to be enabled. @return MMAL_SUCCESS on success.