[][src]Function mmal_sys::mmal_queue_put_back

pub unsafe extern "C" fn mmal_queue_put_back(
    queue: *mut MMAL_QUEUE_T,
    buffer: *mut MMAL_BUFFER_HEADER_T
)

Put a MMAL_BUFFER_HEADER_T back at the start of a queue. This is used when a buffer header was removed from the queue but not fully processed and needs to be put back where it was originally taken.

@param queue Pointer to a queue @param buffer Pointer to the MMAL_BUFFER_HEADER_T to add to the queue