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)
committerOlivier Crête <olivier.crete@collabora.com>
Thu, 2 Apr 2015 02:39:26 +0000 (22:39 -0400)
commit26d3057d989cae5935a0dc5976966cb3cb4d1d7c
tree65c7237cc8aa126b56aa3610759e2c5a9d672e4b
parent9a73ffcef33951dc5faef69d3c3fb4bfc18e3d7d
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
gst-libs/gst/video/gstvideoaggregator.c