aggregator: fix live query when force-live is TRUE
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 23 Oct 2024 14:14:45 +0000 (16:14 +0200)
committerBackport Bot <gitlab-backport-bot@gstreamer-foundation.org>
Wed, 23 Oct 2024 23:03:02 +0000 (00:03 +0100)
commitedb1d48c40781def8486cc6434e1f2c66a858960
treec86dd8a37e90e24eb981b0af1c222941f6438ec1
parent8131c3eb1db5a75a11e4b3f050983de371ad1d4d
aggregator: fix live query when force-live is TRUE

When force-live is TRUE, aggregator will correctly change its state with
NO_PREROLL, but unless something upstream is live did not previously set
live to TRUE on the latency query.

Fix this by or'ing force_live into the result.

Also improve debug

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7723>
subprojects/gstreamer/libs/gst/base/gstaggregator.c