mbuf_coded_video_frame_queue_destroy

Function mbuf_coded_video_frame_queue_destroy 

Source
pub unsafe extern "C" fn mbuf_coded_video_frame_queue_destroy(
    queue: *mut mbuf_coded_video_frame_queue,
) -> c_int
Expand description

Destroy a coded frame queue.

The queue event must not be attached to any loop when this function is called.

@note If the queue is not empty, this function will warn and issue an internal call to mbuf_coded_video_frame_queue_flush()

@param queue: The queue.

@return 0 on success, negative errno on error.