AVFilterPad.filter_frame

Filtering callback. This is where a filter receives a frame with audio/video data and should do its processing.

Input pads only.

@return >= 0 on success, a negative AVERROR on error. This function must ensure that frame is properly unreferenced on error if it hasn't been passed on to another filter.

struct AVFilterPad
int function(AVFilterLink* link, AVFrame* frame) filter_frame;

Meta