[][src]Function ffmpeg_sys_next::av_buffersink_get_frame_flags

pub unsafe extern "C" fn av_buffersink_get_frame_flags(
    ctx: *mut AVFilterContext,
    frame: *mut AVFrame,
    flags: c_int
) -> c_int

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

@param ctx pointer to a buffersink or abuffersink filter context. @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() @param flags a combination of AV_BUFFERSINK_FLAG_* flags

@return >= 0 in for success, a negative AVERROR code for failure.