multiqueue: Use running time of gap events for wakeups.
authorJan Schmidt <jan@centricular.com>
Sun, 5 Sep 2021 15:43:57 +0000 (01:43 +1000)
committerJan Schmidt <jan@centricular.com>
Sun, 5 Sep 2021 15:43:57 +0000 (01:43 +1000)
commit5eba4080710efab965efaf6f9f4ee0487736005a
treee6154d0ae92ec3e3ec0cd4251ae4745b82441f80
parentc906ccb79fa86dfa9a635e2b14f8ee4754720add
multiqueue: Use running time of gap events for wakeups.

Use gap events to update the next_time of a queue the same
as buffers or segment events. Fixes problems where a group
consisting only of sparse streams primarily driven by
gap events would stall with a full multiqueue because
unlinked streams in the group were not being woken to
push data.

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