[gstreamer] prevent accumulation of old cached buffers in input-selector.