audiobuffersplit: Keep track of resync time separately
authorSebastian Dröge <sebastian@centricular.com>
Fri, 17 Aug 2018 13:33:52 +0000 (16:33 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 17 Aug 2018 13:40:16 +0000 (16:40 +0300)
commitb2602a459bba43f103872a072b5ee91685e70c71
tree62b6a28f1a19e927f831c93feab3e7f0aa46f0ed
parent186870d10ad58c2dc95f5f50a16f29bc1f47bd51
audiobuffersplit: Keep track of resync time separately

If we drain after a discont, the discont time given by the stream
synchronizer is already the time after the discontinuity. But we need to
drain all pending data based on the previous discont time instead.
gst/audiobuffersplit/gstaudiobuffersplit.c
gst/audiobuffersplit/gstaudiobuffersplit.h