Function ff_filter_frame

Source
pub unsafe extern "C" fn ff_filter_frame(
    link: *mut AVFilterLink,
    frame: *mut AVFrame,
) -> c_int
Expand description

Send a frame of data to the next filter.

@param link the output link over which the data is being sent @param frame a reference to the buffer of data being sent. The receiving filter will free this reference when it no longer needs it or pass it on to the next filter.

@return >= 0 on success, a negative AVERROR on error. The receiving filter is responsible for unreferencing frame in case of error.