Before it returned that [start,stop] is inside the segment and that the
difference between segment_start and start needs to be clipped. If the
clipping is done on a buffer (like in baseaudiosink) this will result
in the data pointer being at a invalid memory position.
Fixes bug #589849.
/* if a stop position is given and is before the segment start,
* we're outside of the segment */
- if (G_UNLIKELY (stop != -1 && stop != start && stop <= segment->start))
+ if (G_UNLIKELY (stop != -1 && stop <= segment->start))
return FALSE;
if (clip_start) {