pub unsafe extern "C" fn mbuf_coded_video_frame_get_metadata(
frame: *mut mbuf_coded_video_frame,
meta: *mut *mut vmeta_frame,
) -> c_intExpand description
Get the video metadata associated with a frame.
The returned metadata has its reference count increased, so the caller needs to call vmeta_frame_unref() on the metadata when no longer needed. If the frame does not contain metadata, this call will return -ENOENT and set *meta to NULL.
@param frame: The frame. @param meta: [out] The metadata.
@return 0 on success, negative errno on error.