Function av_buffersrc_write_frame
pub unsafe extern "C" fn av_buffersrc_write_frame(
ctx: *mut AVFilterContext,
frame: *const AVFrame,
) -> i32
Expand description
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.