identity: Non-live upstream have no max latency
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Sat, 20 Jul 2019 01:57:09 +0000 (21:57 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 8 Aug 2019 22:27:10 +0000 (23:27 +0100)
commit819b316e039c5974e1b06bf25e4f68dc74ab00a0
tree0d9ee68c86c754c55dcae3b1685ae17d2d97f02b
parent66e1ee5137b2964b27b4dd18fd61809cb261048b
identity: Non-live upstream have no max latency

sync=TRUE implementation changes the latency query of a non-live
upstream into live, though it wrongly set the upstream max latency to 0.
As non-live sources won't loose data if we wait longer, this should have
been reported as have no max latency limite (-1).
plugins/elements/gstidentity.c