aggregator: Query latency on first incoming buffer.
authorOlivier Crête <olivier.crete@collabora.com>
Sat, 7 Mar 2015 02:12:52 +0000 (21:12 -0500)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 2 Dec 2017 15:10:26 +0000 (15:10 +0000)
commit5a0e2c4c47899ee8033f5a4c3e8c9bb4db6af4cb
tree1b30a206aff4a11e3f20d80d43c3fb716d291bfa
parent46e33e84fd56ffd66984872901b595aca5813429
aggregator: Query latency on first incoming buffer.

And keep on querying upstream until we get a reply.

Also, the _get_latency_unlocked() method required being calld
with a private lock, so removed the _unlocked() variant from the API.
And it now returns GST_CLOCK_TIME_NONE when the element is not live as
we think that 0 upstream latency is possible.

https://bugzilla.gnome.org/show_bug.cgi?id=745768
libs/gst/base/gstaggregator.c
libs/gst/base/gstaggregator.h