关于AVFilterPad里pad的解释
请问这个“A filter pad used for either input or output”里的pad是什么意思呢
因为遇到concat报错,看源码里是这样判断的
if (src->output_pads.type != dst->input_pads.type) {
av_log(src, AV_LOG_ERROR,
"Media type mismatch between the '%s' filter output pad %d (%s) and the '%s' filter input pad %d (%s)\n",
src->name, srcpad, (char *)av_x_if_null(av_get_media_type_string(src->output_pads.type), "?"),
dst->name, dstpad, (char *)av_x_if_null(av_get_media_type_string(dst-> input_pads.type), "?"));
return AVERROR(EINVAL);
}
但是理解不了这里的pads的含义。
具体的输入和输入的方法(操作函数,例如filter_frame request_frame)的载体
参考某个具体的示例里面可以看到,比如libavfilter/vf_hue.c
页:
[1]