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