audiobasesink: Handle an extra case of buffers being out of segment
authorJan Schmidt <jan@centricular.com>
Fri, 28 Sep 2018 14:49:46 +0000 (00:49 +1000)
committerSebastian Dröge <slomo@coaxion.net>
Wed, 1 Apr 2020 21:01:38 +0000 (21:01 +0000)
commitf9c5db7d5696c3ec9742c235fa771ebfa83ac5c1
treeb738711a320e066744601a53f6b02dcecdfd72c5
parent0bc8998bdf7c72ee30a50bc45f17a9c9d4332a91
audiobasesink: Handle an extra case of buffers being out of segment

It's possible that a buffer might be within the segment proper,
but not within the "valid" part we're playing, which is only
things after the 'offset' part of the segment. In that case,
the running-times of the buffer-start and buffer-stop will be
GST_CLOCK_TIME_NONE, and we'd better not schedule playback that
far in the future.
gst-libs/gst/audio/gstaudiobasesink.c