pub unsafe extern "C" fn mbuf_coded_video_frame_queue_pop(
queue: *mut mbuf_coded_video_frame_queue,
frame: *mut *mut mbuf_coded_video_frame,
) -> c_intExpand description
Pop a frame from a queue.
This function returns the first frame in the queue (or -ENOENT if the queue is empty), and removes it from the queue. The returned frame is properly referenced, so the caller will need to call mbuf_coded_video_frame_unref() when the frame is no longer needed.
@param queue: The queue. @param frame: [out] The first frame in the queue.
@return 0 on success, negative errno on error.