[][src]Function ffmpeg_sys_next::av_buffersrc_parameters_set

pub unsafe extern "C" fn av_buffersrc_parameters_set(
    ctx: *mut AVFilterContext,
    param: *mut AVBufferSrcParameters
) -> c_int

Initialize the buffersrc or abuffersrc filter with the provided parameters. This function may be called multiple times, the later calls override the previous ones. Some of the parameters may also be set through AVOptions, then whatever method is used last takes precedence.

@param ctx an instance of the buffersrc or abuffersrc filter @param param the stream parameters. The frames later passed to this filter must conform to those parameters. All the allocated fields in param remain owned by the caller, libavfilter will make internal copies or references when necessary. @return 0 on success, a negative AVERROR code on failure.