gst/subparse/gstsubparse.c: Fix detection of discontinuities based on the buffer...