Allow to cache more than one frame (e.g. for filters which return more than one frame when avfilter_request_frame() is called on them), and do not discard previously cached frames when a new one is added.
Also add the public interface libavfilter/vsink_buffer.h.