av_buffersrc_write_frame

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.

extern (C) @nogc nothrow
int
av_buffersrc_write_frame
(,
const(AVFrame)* frame
)

Meta