aggregator: Reset latency values in start()
authorSebastian Dröge <sebastian@centricular.com>
Wed, 19 Aug 2020 18:17:31 +0000 (21:17 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 10 Sep 2020 11:18:34 +0000 (14:18 +0300)
commitca38070bdf8798fbd24fcd9685ee6a2d245ed270
tree5772da24b9f58676510b415dd67003ba208a2967
parent40c994cddee41954053f80dde40f56107ddfcfd4
aggregator: Reset latency values in start()

Some base classes like videoaggregator try retrieving the latency during
construction, which causes the latency values to be set already until
reconfiguration happens.

By resetting them the same way as in stop() we ensure that we always
start cleanly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/599>
libs/gst/base/gstaggregator.c