@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.
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.