[][src]Function ffmpeg_sys_next::av_buffersrc_write_frame

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

Add a frame to the buffer source.

@param ctx an instance of the buffersrc filter @param frame frame to be added. If the frame is reference counted, this function will make a new reference to it. Otherwise the frame data will be copied.

@return 0 on success, a negative AVERROR on error

This function is equivalent to av_buffersrc_add_frame_flags() with the AV_BUFFERSRC_FLAG_KEEP_REF flag.