av_buffersink_get_frame

Get a frame with filtered data from sink and put it in frame.

@param ctx pointer to a context of a buffersink or abuffersink AVFilter. @param frame pointer to an allocated frame that will be filled with data. The data must be freed using av_frame_unref() / av_frame_free()

@return - >= 0 if a frame was successfully returned. - AVERROR(EAGAIN) if no frames are available at this point; more input frames must be added to the filtergraph to get more output. - AVERROR_EOF if there will be no more output frames on this sink. - A different negative AVERROR code in other failure cases.

extern (C) @nogc nothrow
int
av_buffersink_get_frame

Meta