gst-stats: sort latency by first activity before displaying
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 8 Jul 2019 09:20:26 +0000 (11:20 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 8 Jul 2019 11:13:40 +0000 (13:13 +0200)
commit71f1b5ec83152cc8f1527a3bb9b3f8e1a98c002e
treee6e4b495523267f3aa7d719da7ae662948b1fcc9
parent318a6169f762297d2e28881c9e3d23c41b484521
gst-stats: sort latency by first activity before displaying

We use to display the latency of each element in random order which is
not very convenient when comparing latency between different runs.
Sort them by "first activity" (the first latency reported for each
element) so it's consistent betwen runs.

This is the same logic when sorting and displaying element stats.
tools/gst-stats.c