Check linked pads media type mismatch in avfilter_link().