latency: Dot not override already stored events
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 19 Mar 2019 01:55:50 +0000 (21:55 -0400)
committerJulian Bouzas <julian.bouzas@collabora.com>
Mon, 8 Apr 2019 16:28:07 +0000 (12:28 -0400)
commit5470f6df00595f4ab44871e0e633bf15006abc5c
tree1c341b6fe31171d091538bf3e97f2fbf8030faf5
parentbdb75a145020ff8257dc8eef60866135ba61db4c
latency: Dot not override already stored events

First, the event would be leaved, but also when an element takes
several buffers before producing one, we want the reported latency to be
the aggregation, so the distance from the oldest buffer.
plugins/tracers/gstlatency.c