multiqueue: Handle use-interleave latency live pipelines
authorEdward Hervey <edward@centricular.com>
Mon, 23 Jan 2023 16:26:07 +0000 (17:26 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 26 Jan 2023 16:52:17 +0000 (16:52 +0000)
commit30f7a55a2595cb405a695cf1277a9803ebcb6e61
tree0f13ad5d3273e0b248c722f2d99c1c041cefd8cf
parent379c6505eba871d5ab68fd298805e0fee00ec03d
multiqueue: Handle use-interleave latency live pipelines

Due to the dynamic nature of multiqueue, when `use-interleave` is used we can't
report a maximum tolerated latency (when queried) since it is calculated
dynamically.

When in such live pipelines, we need to make sure multiqueue can handle the
lowest global latency (provided by this event). Failure to do that would
result in not providing enough buffering for a realtime pipeline.

Fixes #1732

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3810>
subprojects/gstreamer/plugins/elements/gstmultiqueue.c