sink: Only add processing latency if upstream is live
authorOlivier Crête <olivier.crete@collabora.com>
Mon, 16 Jul 2018 15:51:05 +0000 (11:51 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Mon, 16 Jul 2018 17:04:44 +0000 (13:04 -0400)
commit4f3aea316acd38ce498dd7130db76e91a76490d7
tree86ebb477e01cc3be18963b4a64f12a7232d3c5ba
parentf79b871a6a400c411313eb82a71b3a3475c0ac99
sink: Only add processing latency if upstream is live

Only add it if upstream is live, otherwise leave the latency at 0.

https://bugzilla.gnome.org/show_bug.cgi?id=640610
libs/gst/base/gstbasesink.c