pub unsafe extern "C" fn mbuf_coded_video_frame_queue_push(
queue: *mut mbuf_coded_video_frame_queue,
frame: *mut mbuf_coded_video_frame,
) -> c_intExpand description
Push a frame into a queue.
If a filter is present on the queue, it will be applied to the frame and can refuse the push. In this case -EPROTO will be returned.
This call does not transfer ownership of the frame, the queue will reference the frame internally, the caller still retains a reference on it and must call mbuf_coded_video_frame_unref() when it no longer needs the reference.
@param queue: The queue. @param frame: The frame to push.
@return 0 on success, negative errno on error.