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)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Sat, 20 Jul 2019 02:12:29 +0000 (22:12 -0400)
commit86b9f78788cd8e55e289cf01c05eeac1b00e8da8
treee0472800714821b7ba479d4c4822306c65121385
parent9ec55072d2fc60d9bf8dc9919e0ea1776da05056
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