base: check for unexpected buffers
base: check for unexpected buffers

So that we don't overrun the ts_array.

[modified]
Signed-off-by: Felipe Contreras <de77a8b9cd239b204c19c52ed62e48ab47243362@nokia.com>

community-ssu/gst-dsp,community-ssu/gst-dsp,felipec/gst-dsp,community-ssu/gst-dsp,felipec/gst-dsp