gstcheck: Add a stream consistency checking helper routine. Fixes #588744
4 files changed