aggregator: Implement force_live API
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 18 Nov 2022 13:24:30 +0000 (14:24 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 18 Nov 2022 18:14:26 +0000 (18:14 +0000)
commitb5cd75823012ddc9f8fd56493308d580a315cc9f
treed4b66edabcb1641a576d750ccf20990a50e5415c
parentf29c19be5821d26a6b7682d0c69ff31d0815e072
aggregator: Implement force_live API

Setting force_live lets aggregator behave as if it had at least one of
its sinks connected to a live source, which should let us get rid of the
fake live test source hack that is probably present in dozens of
applications by now.

+ Expose API for subclasses to set and get force_live
+ Expose force-live properties in GstVideoAggregator and GstAudioAggregator
+ Adds a simple test

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3008>
subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudioaggregator.c
subprojects/gst-plugins-base/gst-libs/gst/video/gstvideoaggregator.c
subprojects/gstreamer/libs/gst/base/gstaggregator.c
subprojects/gstreamer/libs/gst/base/gstaggregator.h
subprojects/gstreamer/tests/check/libs/aggregator.c