baseaudiosink: make drift tolerance configurable
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 4 Nov 2009 15:16:31 +0000 (16:16 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 4 Nov 2009 15:16:31 +0000 (16:16 +0100)
commitd8942e28502b62204eca57aef8198d9f73101aeb
tree644e53de1d263db51ff0b91488b876870fdda08a
parent067245760481e0c1431c68fe03898bd235c3610d
baseaudiosink: make drift tolerance configurable

Add drift-tolerance property (defaulting to 20ms) to handle resync after clock
drift or timestamp drift instead of relying on the latency-time value for clock
drift and 500ms for timestamp drift.
Remove warning about discont timestamp and simply resync. The warning is in some
cases not correct and is triggered more frequently now that we lower the
tolerance value.
gst-libs/gst/audio/gstbaseaudiosink.c